Från professionella översättare, företag, webbsidor och fritt tillgängliga översättningsdatabaser.
this method is called during instantiation of the filter class object. if your filter allocates or initializes any other resources (such as a buffer), this is the place to do it.
the closing parameter tells you whether the stream is, in fact, in the process of closing.
Senast uppdaterad: 2011-10-24
Användningsfrekvens: 1
Kvalitet:
the macro make_std_zval allocates a new zval container using alloc_zval and initializes it using init_zval. as implemented in zend at the time of this writing, initializing means setting the reference count to 1 and clearing the is_ref flag, but this process could be extended later - this is why it's a good idea to keep using make_std_zval instead of only using alloc_zval. if you want to optimize for speed (and you don't have to explicitly initialize the zval container here), you can use alloc_zval, but this isn't recommended because it doesn't ensure data integrity.
the macro make_std_zval allocates a new zval container using alloc_zval and initializes it using init_zval.
Senast uppdaterad: 2011-10-24
Användningsfrekvens: 1
Kvalitet: