}
/* }}} */
-/* {{{ proto array get_resources([string resouce_type])
+/* {{{ proto array get_resources([string resource_type])
Get an array with all active resources */
ZEND_FUNCTION(get_resources)
{
zend_ce_generator->serialize = zend_class_serialize_deny;
zend_ce_generator->unserialize = zend_class_unserialize_deny;
- /* get_iterator has to be assigned *after* implementing the inferface */
+ /* get_iterator has to be assigned *after* implementing the interface */
zend_class_implements(zend_ce_generator, 1, zend_ce_iterator);
zend_ce_generator->get_iterator = zend_generator_get_iterator;
/* {{{ data structure */
enum strm_status {
- PHP_BZ2_UNITIALIZED,
+ PHP_BZ2_UNINITIALIZED,
PHP_BZ2_RUNNING,
PHP_BZ2_FINISHED
};
bucket = php_stream_bucket_make_writeable(buckets_in->head);
while (bin < bucket->buflen) {
- if (data->status == PHP_BZ2_UNITIALIZED) {
+ if (data->status == PHP_BZ2_UNINITIALIZED) {
status = BZ2_bzDecompressInit(streamp, 0, data->small_footprint);
if (BZ_OK != status) {
if (status == BZ_STREAM_END) {
BZ2_bzDecompressEnd(&(data->strm));
if (data->expect_concatenated) {
- data->status = PHP_BZ2_UNITIALIZED;
+ data->status = PHP_BZ2_UNINITIALIZED;
} else {
data->status = PHP_BZ2_FINISHED;
}
}
}
- data->status = PHP_BZ2_UNITIALIZED;
+ data->status = PHP_BZ2_UNINITIALIZED;
fops = &php_bz2_decompress_ops;
} else if (strcasecmp(filtername, "bzip2.compress") == 0) {
int blockSize100k = PHP_BZ2_FILTER_DEFAULT_BLOCKSIZE;
if (!(b->flags & ZEND_BB_REACHABLE)) {
continue;
}
- /* we track data dependencies only insight a single basic block */
+ /* we track data dependencies only inside a single basic block */
if (!(b->flags & ZEND_BB_FOLLOW) ||
(b->flags & ZEND_BB_TARGET)) {
/* Skip continuation of "extended" BB */
if (intern->file_name) {
efree(intern->file_name);
}
- /* if there is parent path, ammnd it, otherwise just use the given path as is */
+ /* if there is parent path, amend it, otherwise just use the given path as is */
if (path_len == 0) {
intern->file_name_len = spprintf(
&intern->file_name, 0, "%s", intern->u.dir.entry.d_name);