diff options
Diffstat (limited to 'ext/spl')
59 files changed, 101 insertions, 101 deletions
diff --git a/ext/spl/tests/SplDoublyLinkedList_count_param_SplDoublyLinkedList.phpt b/ext/spl/tests/SplDoublyLinkedList_count_param_SplDoublyLinkedList.phpt index 36c72de191..60203eb4a0 100644 --- a/ext/spl/tests/SplDoublyLinkedList_count_param_SplDoublyLinkedList.phpt +++ b/ext/spl/tests/SplDoublyLinkedList_count_param_SplDoublyLinkedList.phpt @@ -1,5 +1,5 @@ --TEST-- -Create a SplDoublyLinkedList, call count() and pass a SplDoublyLinkedList object as the parameter. +Create a SplDoublyLinkedList, call count() and pass a SplDoublyLinkedList object as the parameter. --CREDITS-- Philip Norton philipnorton42@gmail.com --FILE-- diff --git a/ext/spl/tests/SplDoublyLinkedList_setIteratorMode_param_SplDoublyLinkedList.phpt b/ext/spl/tests/SplDoublyLinkedList_setIteratorMode_param_SplDoublyLinkedList.phpt index 2446db2257..9d6c4505d8 100644 --- a/ext/spl/tests/SplDoublyLinkedList_setIteratorMode_param_SplDoublyLinkedList.phpt +++ b/ext/spl/tests/SplDoublyLinkedList_setIteratorMode_param_SplDoublyLinkedList.phpt @@ -1,5 +1,5 @@ --TEST-- -Create a SplDoublyLinkedList, call setIteratorMode() and pass a SplDoublyLinkedList object as the parameter. +Create a SplDoublyLinkedList, call setIteratorMode() and pass a SplDoublyLinkedList object as the parameter. --CREDITS-- Philip Norton philipnorton42@gmail.com --FILE-- diff --git a/ext/spl/tests/SplFileObject_fflush_basic_001.phpt b/ext/spl/tests/SplFileObject_fflush_basic_001.phpt index e4ea7fe8f1..bacdcb1daa 100644 --- a/ext/spl/tests/SplFileObject_fflush_basic_001.phpt +++ b/ext/spl/tests/SplFileObject_fflush_basic_001.phpt @@ -1,5 +1,5 @@ --TEST-- -SplFileObject::fflush function - basic test +SplFileObject::fflush function - basic test --FILE-- <?php /* diff --git a/ext/spl/tests/SplFileObject_fpassthru_basic.phpt b/ext/spl/tests/SplFileObject_fpassthru_basic.phpt index 55b7481d95..0bd349fc92 100644 --- a/ext/spl/tests/SplFileObject_fpassthru_basic.phpt +++ b/ext/spl/tests/SplFileObject_fpassthru_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -SplFileObject::fpassthru function - basic functionality test +SplFileObject::fpassthru function - basic functionality test --FILE-- <?php $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv'); diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation1.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation1.phpt index fba9a1bf19..f5583a8195 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation1.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation1.phpt @@ -7,8 +7,8 @@ Test fputcsv() : usage variations - with all parameters specified echo "*** Testing fputcsv() : with all parameters specified ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ $csv_lists = array ( @@ -54,12 +54,12 @@ foreach ($csv_lists as $csv_list) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation10.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation10.phpt index ed684179b8..57f5681517 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation10.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation10.phpt @@ -7,8 +7,8 @@ SplFileObject::fputcsv(): Usage variations -- with line without any CSV fields echo "*** Testing fputcsv() : with no CSV format in the field ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ @@ -47,12 +47,12 @@ foreach ($fields as $field) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation11.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation11.phpt index 2deafac1ea..ede8e59413 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation11.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation11.phpt @@ -7,8 +7,8 @@ SplFileObject::fputcsv(): Usage variations -- with default enclosure value echo "*** Testing fputcsv() : with default enclosure value ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ $csv_lists = array ( @@ -54,12 +54,12 @@ foreach ($csv_lists as $csv_list) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation12.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation12.phpt index aee1da3559..c4bc9f112d 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation12.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation12.phpt @@ -8,8 +8,8 @@ SplFileObject::fputcsv(): Usage variations -- with default enclosure and differe echo "*** Testing fputcsv() : with default enclosure and different delimiter value ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ $csv_lists = array ( @@ -55,12 +55,12 @@ foreach ($csv_lists as $csv_list) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation13.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation13.phpt index b7c2a6381d..9edaf571fe 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation13.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation13.phpt @@ -1,5 +1,5 @@ --TEST-- -Test fputcsv() : usage variations - with default enclosure & delimiter of two chars +Test fputcsv() : usage variations - with default enclosure & delimiter of two chars --FILE-- <?php diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation5.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation5.phpt index f83bc6755f..4b9e930c7c 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation5.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation5.phpt @@ -7,8 +7,8 @@ Test fputcsv() : usage variations - with default arguments value echo "*** Testing fputcsv() : with default arguments value ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ $csv_lists = array ( @@ -54,12 +54,12 @@ foreach ($csv_lists as $csv_list) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation6.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation6.phpt index ffa2b320c6..842bb563d1 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation6.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation6.phpt @@ -1,5 +1,5 @@ --TEST-- -Test fputcsv() : usage variations - with different delimiter and enclosure +Test fputcsv() : usage variations - with different delimiter and enclosure --FILE-- <?php @@ -10,8 +10,8 @@ Test fputcsv() : usage variations - with different delimiter and enclosure echo "*** Testing fputcsv() : with different delimiter and enclosure ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ $csv_lists = array ( @@ -57,12 +57,12 @@ foreach ($csv_lists as $csv_list) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation7.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation7.phpt index 72fb34efa6..0f9b8ce366 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation7.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation7.phpt @@ -1,5 +1,5 @@ --TEST-- -Test fputcsv() : usage variations - with different delimiter and same enclosure +Test fputcsv() : usage variations - with different delimiter and same enclosure --FILE-- <?php @@ -10,8 +10,8 @@ Test fputcsv() : usage variations - with different delimiter and same enclosure echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ $csv_lists = array ( @@ -57,12 +57,12 @@ foreach ($csv_lists as $csv_list) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fputcsv_variation8.phpt b/ext/spl/tests/SplFileObject_fputcsv_variation8.phpt index 4eab3d74e4..64f32187ac 100644 --- a/ext/spl/tests/SplFileObject_fputcsv_variation8.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv_variation8.phpt @@ -1,5 +1,5 @@ --TEST-- -Test fputcsv() : usage variations - with same delimiter and different enclosure +Test fputcsv() : usage variations - with same delimiter and different enclosure --FILE-- <?php @@ -10,8 +10,8 @@ Test fputcsv() : usage variations - with same delimiter and different enclosure echo "*** Testing fputcsv() : with same delimiter and different enclosure ***\n"; -/* the array is with three elements in it. Each element should be read as - 1st element is delimiter, 2nd element is enclosure +/* the array is with three elements in it. Each element should be read as + 1st element is delimiter, 2nd element is enclosure and 3rd element is csv fields */ $csv_lists = array ( @@ -57,12 +57,12 @@ foreach ($csv_lists as $csv_list) { //close the file unset($fo); - // print the file contents + // print the file contents var_dump( file_get_contents($file) ); //delete file unlink($file); - } //end of mode loop + } //end of mode loop } // end of foreach echo "Done\n"; diff --git a/ext/spl/tests/SplFileObject_fscanf_basic.phpt b/ext/spl/tests/SplFileObject_fscanf_basic.phpt index 5279039f0c..2f668ac73e 100644 --- a/ext/spl/tests/SplFileObject_fscanf_basic.phpt +++ b/ext/spl/tests/SplFileObject_fscanf_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -SplFileObject::fscanf function - basic functionality test +SplFileObject::fscanf function - basic functionality test --FILE-- <?php $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv'); diff --git a/ext/spl/tests/SplFileObject_ftruncate_error_001.phpt b/ext/spl/tests/SplFileObject_ftruncate_error_001.phpt index 121d12e029..831e855b85 100644 --- a/ext/spl/tests/SplFileObject_ftruncate_error_001.phpt +++ b/ext/spl/tests/SplFileObject_ftruncate_error_001.phpt @@ -1,5 +1,5 @@ --TEST-- -SplFileObject::ftruncate function - truncating with stream that does not support truncation +SplFileObject::ftruncate function - truncating with stream that does not support truncation --FILE-- <?php diff --git a/ext/spl/tests/SplFileObject_fwrite_error_001.phpt b/ext/spl/tests/SplFileObject_fwrite_error_001.phpt index 296a1f36c9..0418086e9e 100644 --- a/ext/spl/tests/SplFileObject_fwrite_error_001.phpt +++ b/ext/spl/tests/SplFileObject_fwrite_error_001.phpt @@ -1,5 +1,5 @@ --TEST-- -SplFileObject::fpassthru function - parameters test +SplFileObject::fpassthru function - parameters test --FILE-- <?php $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv'); diff --git a/ext/spl/tests/SplFileObject_getCsvControl_basic_001.phpt b/ext/spl/tests/SplFileObject_getCsvControl_basic_001.phpt index 4e3de4bab2..5c65a1b76b 100644 --- a/ext/spl/tests/SplFileObject_getCsvControl_basic_001.phpt +++ b/ext/spl/tests/SplFileObject_getCsvControl_basic_001.phpt @@ -1,5 +1,5 @@ --TEST-- -SplFileObject::getCsvControl function - basic test +SplFileObject::getCsvControl function - basic test --FILE-- <?php $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv'); diff --git a/ext/spl/tests/SplFileObject_rewind_error001.phpt b/ext/spl/tests/SplFileObject_rewind_error001.phpt index 5f2379aa13..2e4aefb7a7 100644 --- a/ext/spl/tests/SplFileObject_rewind_error001.phpt +++ b/ext/spl/tests/SplFileObject_rewind_error001.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: SplFileObject::rewind() with a parameter. +SPL: SplFileObject::rewind() with a parameter. --CREDITS-- Ricardo Oedietram <ricardo@odracir.nl> Erwin Poeze <erwin.poeze@gmail.com> diff --git a/ext/spl/tests/SplObjectStorage_removeAllExcept_basic.phpt b/ext/spl/tests/SplObjectStorage_removeAllExcept_basic.phpt index d28e190de7..83b3e27d88 100644 --- a/ext/spl/tests/SplObjectStorage_removeAllExcept_basic.phpt +++ b/ext/spl/tests/SplObjectStorage_removeAllExcept_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Check that SplObjectStorage::removeUncommon functions when receiving proper input +Check that SplObjectStorage::removeUncommon functions when receiving proper input --CREDITS-- Matthew Turland (me@matthewturland.com) --FILE-- diff --git a/ext/spl/tests/arrayObject_asort_basic1.phpt b/ext/spl/tests/arrayObject_asort_basic1.phpt index e945def656..6c6fd2949f 100644 --- a/ext/spl/tests/arrayObject_asort_basic1.phpt +++ b/ext/spl/tests/arrayObject_asort_basic1.phpt @@ -4,7 +4,7 @@ SPL: Test ArrayObject::asort() function : basic functionality with array based s <?php /* Prototype : int ArrayObject::asort() * Description: proto int ArrayIterator::asort() - * Sort the entries by values. + * Sort the entries by values. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_asort_basic2.phpt b/ext/spl/tests/arrayObject_asort_basic2.phpt index a5158536ee..a736365dbd 100644 --- a/ext/spl/tests/arrayObject_asort_basic2.phpt +++ b/ext/spl/tests/arrayObject_asort_basic2.phpt @@ -4,7 +4,7 @@ SPL: Test ArrayObject::asort() function : basic functionality with object based <?php /* Prototype : int ArrayObject::asort() * Description: proto int ArrayIterator::asort() - * Sort the entries by values. + * Sort the entries by values. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_clone_basic1.phpt b/ext/spl/tests/arrayObject_clone_basic1.phpt index 67876330f5..0adb3eca4e 100644 --- a/ext/spl/tests/arrayObject_clone_basic1.phpt +++ b/ext/spl/tests/arrayObject_clone_basic1.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Cloning an instance of ArrayObject which wraps an array. +SPL: Cloning an instance of ArrayObject which wraps an array. --FILE-- <?php $a = array(1,2); diff --git a/ext/spl/tests/arrayObject_clone_basic2.phpt b/ext/spl/tests/arrayObject_clone_basic2.phpt index dccd26492f..3bcebc7970 100644 --- a/ext/spl/tests/arrayObject_clone_basic2.phpt +++ b/ext/spl/tests/arrayObject_clone_basic2.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Cloning an instance of ArrayObject which wraps an object. +SPL: Cloning an instance of ArrayObject which wraps an object. --FILE-- <?php class C { } diff --git a/ext/spl/tests/arrayObject_clone_basic3.phpt b/ext/spl/tests/arrayObject_clone_basic3.phpt index 53afecb58f..27f2098740 100644 --- a/ext/spl/tests/arrayObject_clone_basic3.phpt +++ b/ext/spl/tests/arrayObject_clone_basic3.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Cloning nested ArrayObjects. +SPL: Cloning nested ArrayObjects. --FILE-- <?php class C { diff --git a/ext/spl/tests/arrayObject_count_basic1.phpt b/ext/spl/tests/arrayObject_count_basic1.phpt index a003c2cf67..b0643d5754 100644 --- a/ext/spl/tests/arrayObject_count_basic1.phpt +++ b/ext/spl/tests/arrayObject_count_basic1.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: ArrayObject::count() and ArrayIterator::count() basic functionality. +SPL: ArrayObject::count() and ArrayIterator::count() basic functionality. --FILE-- ==ArrayObject== <?php diff --git a/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt b/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt index 63315d531c..a749493007 100644 --- a/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt +++ b/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: ArrayObject::getIteratorClass and ArrayObject::setIteratorClass basic functionality +SPL: ArrayObject::getIteratorClass and ArrayObject::setIteratorClass basic functionality --FILE-- <?php class MyIterator extends ArrayIterator { diff --git a/ext/spl/tests/arrayObject_ksort_basic1.phpt b/ext/spl/tests/arrayObject_ksort_basic1.phpt index 43a2a2c578..1692a02ef1 100644 --- a/ext/spl/tests/arrayObject_ksort_basic1.phpt +++ b/ext/spl/tests/arrayObject_ksort_basic1.phpt @@ -1,10 +1,10 @@ --TEST-- -SPL: Test ArrayObject::ksort() function : basic functionality with array based store +SPL: Test ArrayObject::ksort() function : basic functionality with array based store --FILE-- <?php /* Prototype : int ArrayObject::ksort() * Description: proto int ArrayIterator::ksort() - * Sort the entries by key. + * Sort the entries by key. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_ksort_basic2.phpt b/ext/spl/tests/arrayObject_ksort_basic2.phpt index 824165ddb8..21cb74cf39 100644 --- a/ext/spl/tests/arrayObject_ksort_basic2.phpt +++ b/ext/spl/tests/arrayObject_ksort_basic2.phpt @@ -1,10 +1,10 @@ --TEST-- -SPL: Test ArrayObject::ksort() function : basic functionality with object base store +SPL: Test ArrayObject::ksort() function : basic functionality with object base store --FILE-- <?php /* Prototype : int ArrayObject::ksort() * Description: proto int ArrayIterator::ksort() - * Sort the entries by key. + * Sort the entries by key. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_natcasesort_basic1.phpt b/ext/spl/tests/arrayObject_natcasesort_basic1.phpt index 3c73cfa077..7e7095fe38 100644 --- a/ext/spl/tests/arrayObject_natcasesort_basic1.phpt +++ b/ext/spl/tests/arrayObject_natcasesort_basic1.phpt @@ -1,10 +1,10 @@ --TEST-- -SPL: Test ArrayObject::natcasesort() function : basic functionality +SPL: Test ArrayObject::natcasesort() function : basic functionality --FILE-- <?php /* Prototype : int ArrayObject::natcasesort() * Description: proto int ArrayIterator::natcasesort() - Sort the entries by values using case insensitive "natural order" algorithm. + Sort the entries by values using case insensitive "natural order" algorithm. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_natsort_basic1.phpt b/ext/spl/tests/arrayObject_natsort_basic1.phpt index 41d5b60829..478dd2b562 100644 --- a/ext/spl/tests/arrayObject_natsort_basic1.phpt +++ b/ext/spl/tests/arrayObject_natsort_basic1.phpt @@ -1,10 +1,10 @@ --TEST-- -SPL: Test ArrayObject::natsort() function : basic functionality +SPL: Test ArrayObject::natsort() function : basic functionality --FILE-- <?php /* Prototype : int ArrayObject::natsort() * Description: proto int ArrayIterator::natsort() - Sort the entries by values using "natural order" algorithm. + Sort the entries by values using "natural order" algorithm. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_setFlags_basic1.phpt b/ext/spl/tests/arrayObject_setFlags_basic1.phpt index d40057dfab..b8bf099dd6 100644 --- a/ext/spl/tests/arrayObject_setFlags_basic1.phpt +++ b/ext/spl/tests/arrayObject_setFlags_basic1.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: ArrayObject::setFlags basic usage with ArrayObject::ARRAY_AS_PROPS. Currently fails on php.net due to bug 45622. +SPL: ArrayObject::setFlags basic usage with ArrayObject::ARRAY_AS_PROPS. Currently fails on php.net due to bug 45622. --FILE-- <?php class C extends ArrayObject { @@ -11,7 +11,7 @@ function access_p($ao) { var_dump(isset($ao->p)); // read var_dump($ao->p); - // write + // write $ao->p = $ao->p . '.changed'; var_dump($ao->p); } diff --git a/ext/spl/tests/arrayObject_uasort_basic1.phpt b/ext/spl/tests/arrayObject_uasort_basic1.phpt index 0cf15a0254..b07aec206b 100644 --- a/ext/spl/tests/arrayObject_uasort_basic1.phpt +++ b/ext/spl/tests/arrayObject_uasort_basic1.phpt @@ -1,10 +1,10 @@ --TEST-- -SPL: Test ArrayObject::uasort() function : basic functionality +SPL: Test ArrayObject::uasort() function : basic functionality --FILE-- <?php /* Prototype : int ArrayObject::uasort(callback cmp_function) * Description: proto int ArrayIterator::uasort(callback cmp_function) - Sort the entries by values user defined function. + Sort the entries by values user defined function. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_uasort_error1.phpt b/ext/spl/tests/arrayObject_uasort_error1.phpt index 9706eadfca..e8b52f9e59 100644 --- a/ext/spl/tests/arrayObject_uasort_error1.phpt +++ b/ext/spl/tests/arrayObject_uasort_error1.phpt @@ -1,10 +1,10 @@ --TEST-- -Test ArrayObject::uasort() function : wrong arg count +Test ArrayObject::uasort() function : wrong arg count --FILE-- <?php /* Prototype : int ArrayObject::uasort(callback cmp_function) * Description: proto int ArrayIterator::uasort(callback cmp_function) - Sort the entries by values user defined function. + Sort the entries by values user defined function. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_uksort_basic1.phpt b/ext/spl/tests/arrayObject_uksort_basic1.phpt index c7f2d3d188..b770f1fe1d 100644 --- a/ext/spl/tests/arrayObject_uksort_basic1.phpt +++ b/ext/spl/tests/arrayObject_uksort_basic1.phpt @@ -1,10 +1,10 @@ --TEST-- -Test ArrayObject::uksort() function : basic functionality +Test ArrayObject::uksort() function : basic functionality --FILE-- <?php /* Prototype : int ArrayObject::uksort(callback cmp_function) * Description: proto int ArrayIterator::uksort(callback cmp_function) - * Sort the entries by key using user defined function. + * Sort the entries by key using user defined function. * Source code: ext/spl/spl_array.c * Alias to functions: */ diff --git a/ext/spl/tests/arrayObject_uksort_error1.phpt b/ext/spl/tests/arrayObject_uksort_error1.phpt index 8e63ca4a5b..e72eec0bf9 100644 --- a/ext/spl/tests/arrayObject_uksort_error1.phpt +++ b/ext/spl/tests/arrayObject_uksort_error1.phpt @@ -1,5 +1,5 @@ --TEST-- -Test ArrayObject::uksort() function : wrong arg count +Test ArrayObject::uksort() function : wrong arg count --FILE-- <?php /* Prototype : int ArrayObject::uksort(callback cmp_function) diff --git a/ext/spl/tests/array_003.phpt b/ext/spl/tests/array_003.phpt index d5317a11c5..e82953be70 100644 --- a/ext/spl/tests/array_003.phpt +++ b/ext/spl/tests/array_003.phpt @@ -3,8 +3,8 @@ SPL: ArrayObject from object --FILE-- <?php -// This test also needs to exclude the protected and private variables -// since they cannot be accessed from the external object which iterates +// This test also needs to exclude the protected and private variables +// since they cannot be accessed from the external object which iterates // them. class test diff --git a/ext/spl/tests/array_007.phpt b/ext/spl/tests/array_007.phpt index 0bd9ef9a6d..5b7d89068d 100644 --- a/ext/spl/tests/array_007.phpt +++ b/ext/spl/tests/array_007.phpt @@ -3,8 +3,8 @@ SPL: ArrayObject/Iterator from IteratorAggregate --FILE-- <?php -// This test also needs to exclude the protected and private variables -// since they cannot be accessed from the external object which iterates +// This test also needs to exclude the protected and private variables +// since they cannot be accessed from the external object which iterates // them. class test implements IteratorAggregate diff --git a/ext/spl/tests/bug49723.phpt b/ext/spl/tests/bug49723.phpt index 221e806611..1557cbc15d 100644 --- a/ext/spl/tests/bug49723.phpt +++ b/ext/spl/tests/bug49723.phpt @@ -1,5 +1,5 @@ --TEST-- -LimitIterator: do not seek if not needed +LimitIterator: do not seek if not needed --FILE-- <?php diff --git a/ext/spl/tests/bug53515.phpt b/ext/spl/tests/bug53515.phpt index 8ecb02b1e6..53ecd5c2af 100644 --- a/ext/spl/tests/bug53515.phpt +++ b/ext/spl/tests/bug53515.phpt @@ -11,7 +11,7 @@ $a[''] = ''; foreach ($a as $key => $value) { echo $key . ': ' . (is_null($value) ? 'null' : @"$value") . - ' array_key_exists: ' . (array_key_exists($key, $a) ? 'true' : 'false') . + ' array_key_exists: ' . (array_key_exists($key, $a) ? 'true' : 'false') . ' property_exists: ' . (property_exists($o, $key) ? 'true' : 'false'),"\n"; } diff --git a/ext/spl/tests/bug66834.phpt b/ext/spl/tests/bug66834.phpt index 66686c771a..eed26c815f 100644 --- a/ext/spl/tests/bug66834.phpt +++ b/ext/spl/tests/bug66834.phpt @@ -4,7 +4,7 @@ SPL: Bug #66834 <?php // overrides both offsetExists and offsetGet -class ArrayObjectBoth extends ArrayObject +class ArrayObjectBoth extends ArrayObject { public function offsetExists($offset) { var_dump('Called: '.__METHOD__); @@ -18,7 +18,7 @@ class ArrayObjectBoth extends ArrayObject } // overrides only offsetExists -class ArrayObjectExists extends ArrayObject +class ArrayObjectExists extends ArrayObject { public function offsetExists($offset) { var_dump('Called: '.__METHOD__); @@ -27,7 +27,7 @@ class ArrayObjectExists extends ArrayObject } // overrides only offsetGet -class ArrayObjectGet extends ArrayObject +class ArrayObjectGet extends ArrayObject { public function offsetGet($offset) { var_dump('Called: '.__METHOD__); diff --git a/ext/spl/tests/class_implements_basic.phpt b/ext/spl/tests/class_implements_basic.phpt index a0a53a82df..986b81e8bc 100644 --- a/ext/spl/tests/class_implements_basic.phpt +++ b/ext/spl/tests/class_implements_basic.phpt @@ -1,9 +1,9 @@ --TEST-- -SPL: Test class_implements() function : basic +SPL: Test class_implements() function : basic --FILE-- <?php /* Prototype : array class_implements(mixed what [, bool autoload ]) - * Description: Return all classes and interfaces implemented by SPL + * Description: Return all classes and interfaces implemented by SPL * Source code: ext/spl/php_spl.c * Alias to functions: */ diff --git a/ext/spl/tests/class_implements_basic2.phpt b/ext/spl/tests/class_implements_basic2.phpt index 26ec288015..6eb3af4556 100644 --- a/ext/spl/tests/class_implements_basic2.phpt +++ b/ext/spl/tests/class_implements_basic2.phpt @@ -1,9 +1,9 @@ --TEST-- -SPL: Test class_implements() function : basic +SPL: Test class_implements() function : basic --FILE-- <?php /* Prototype : array class_implements(mixed what [, bool autoload ]) - * Description: Return all classes and interfaces implemented by SPL + * Description: Return all classes and interfaces implemented by SPL * Source code: ext/spl/php_spl.c * Alias to functions: */ diff --git a/ext/spl/tests/class_implements_variation.phpt b/ext/spl/tests/class_implements_variation.phpt index a3e33a1761..7498a14559 100644 --- a/ext/spl/tests/class_implements_variation.phpt +++ b/ext/spl/tests/class_implements_variation.phpt @@ -3,7 +3,7 @@ SPL: Test class_implements() function : variation - no interfaces and autoload --FILE-- <?php /* Prototype : array class_implements(mixed what [, bool autoload ]) - * Description: Return all classes and interfaces implemented by SPL + * Description: Return all classes and interfaces implemented by SPL * Source code: ext/spl/php_spl.c * Alias to functions: */ diff --git a/ext/spl/tests/class_implements_variation1.phpt b/ext/spl/tests/class_implements_variation1.phpt index 01044458e1..9d876d3a36 100644 --- a/ext/spl/tests/class_implements_variation1.phpt +++ b/ext/spl/tests/class_implements_variation1.phpt @@ -1,9 +1,9 @@ --TEST-- -SPL: Test class_implements() function : variation +SPL: Test class_implements() function : variation --FILE-- <?php /* Prototype : array class_implements(mixed what [, bool autoload ]) - * Description: Return all classes and interfaces implemented by SPL + * Description: Return all classes and interfaces implemented by SPL * Source code: ext/spl/php_spl.c * Alias to functions: */ diff --git a/ext/spl/tests/class_implements_variation2.phpt b/ext/spl/tests/class_implements_variation2.phpt index 6e05820dac..d63669fbec 100644 --- a/ext/spl/tests/class_implements_variation2.phpt +++ b/ext/spl/tests/class_implements_variation2.phpt @@ -1,9 +1,9 @@ --TEST-- -SPL: Test class_implements() function : variation +SPL: Test class_implements() function : variation --FILE-- <?php /* Prototype : array class_implements(mixed what [, bool autoload ]) - * Description: Return all classes and interfaces implemented by SPL + * Description: Return all classes and interfaces implemented by SPL * Source code: ext/spl/php_spl.c * Alias to functions: */ diff --git a/ext/spl/tests/class_uses_basic.phpt b/ext/spl/tests/class_uses_basic.phpt index 99070d623f..8cad9cab07 100644 --- a/ext/spl/tests/class_uses_basic.phpt +++ b/ext/spl/tests/class_uses_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Test class_implements() function : basic +SPL: Test class_implements() function : basic --FILE-- <?php /* Prototype : array class_uses(mixed what [, bool autoload ]) diff --git a/ext/spl/tests/class_uses_basic2.phpt b/ext/spl/tests/class_uses_basic2.phpt index ed656639e6..be4bfa08d0 100644 --- a/ext/spl/tests/class_uses_basic2.phpt +++ b/ext/spl/tests/class_uses_basic2.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Test class_uses() function : basic +SPL: Test class_uses() function : basic --FILE-- <?php /* Prototype : array class_uses(mixed what [, bool autoload ]) diff --git a/ext/spl/tests/class_uses_variation1.phpt b/ext/spl/tests/class_uses_variation1.phpt index 8e27db6b9b..be6aa9ac7f 100644 --- a/ext/spl/tests/class_uses_variation1.phpt +++ b/ext/spl/tests/class_uses_variation1.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Test class_uses() function : variation +SPL: Test class_uses() function : variation --FILE-- <?php /* Prototype : array class_uses(mixed what [, bool autoload ]) diff --git a/ext/spl/tests/class_uses_variation2.phpt b/ext/spl/tests/class_uses_variation2.phpt index bb560ff44f..6458bd178c 100644 --- a/ext/spl/tests/class_uses_variation2.phpt +++ b/ext/spl/tests/class_uses_variation2.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Test class_uses() function : variation +SPL: Test class_uses() function : variation --FILE-- <?php /* Prototype : array class_uses(mixed what [, bool autoload ]) diff --git a/ext/spl/tests/fileobject_005.phpt b/ext/spl/tests/fileobject_005.phpt index fa9e6db173..781614abcc 100644 --- a/ext/spl/tests/fileobject_005.phpt +++ b/ext/spl/tests/fileobject_005.phpt @@ -21,7 +21,7 @@ var_dump($fo->fgets(8)); $fo->rewind(); $fo->fwrite("blahlubba"); -// This should throw a warning and return NULL since an argument is missing +// This should throw a warning and return NULL since an argument is missing var_dump($fo->ftruncate()); ?> diff --git a/ext/spl/tests/fileobject_getbasename_basic.phpt b/ext/spl/tests/fileobject_getbasename_basic.phpt index 34fecdc31c..5fb7ffdec2 100644 --- a/ext/spl/tests/fileobject_getbasename_basic.phpt +++ b/ext/spl/tests/fileobject_getbasename_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: SplFileObject::getBasename +SPL: SplFileObject::getBasename --CREDITS-- H�vard Eide <nucleuz at gmail.com> #Testfest php.no diff --git a/ext/spl/tests/filesystemiterator_flags.phpt b/ext/spl/tests/filesystemiterator_flags.phpt index 635345655b..c74129760c 100644 --- a/ext/spl/tests/filesystemiterator_flags.phpt +++ b/ext/spl/tests/filesystemiterator_flags.phpt @@ -10,7 +10,7 @@ printflags($it); $it->setFlags(FileSystemIterator::CURRENT_AS_SELF | FileSystemIterator::KEY_AS_FILENAME | - FileSystemIterator::SKIP_DOTS | + FileSystemIterator::SKIP_DOTS | FileSystemIterator::UNIX_PATHS); printflags($it); diff --git a/ext/spl/tests/iterator_049b.phpt b/ext/spl/tests/iterator_049b.phpt Binary files differindex 03c7350fa2..5175f41c0c 100644 --- a/ext/spl/tests/iterator_049b.phpt +++ b/ext/spl/tests/iterator_049b.phpt diff --git a/ext/spl/tests/iterator_057.phpt b/ext/spl/tests/iterator_057.phpt index 64d9951021..61c1dfced6 100644 --- a/ext/spl/tests/iterator_057.phpt +++ b/ext/spl/tests/iterator_057.phpt @@ -5,7 +5,7 @@ Sebastian Schürmann --FILE-- <?php /** - * From Docs: Construct a new array iterator from anything that has a hash table. + * From Docs: Construct a new array iterator from anything that has a hash table. * NULL, NOTHING is not a hash table ;) */ class myArrayIterator extends ArrayIterator { diff --git a/ext/spl/tests/spl_caching_iterator_constructor_flags.phpt b/ext/spl/tests/spl_caching_iterator_constructor_flags.phpt index 544c7602a0..f45625f045 100644 --- a/ext/spl/tests/spl_caching_iterator_constructor_flags.phpt +++ b/ext/spl/tests/spl_caching_iterator_constructor_flags.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: CachingInterator constructor flag checks +SPL: CachingInterator constructor flag checks --CREDITS-- Sean Burlington www.practicalweb.co.uk TestFest London May 2009 diff --git a/ext/spl/tests/spl_classes.phpt b/ext/spl/tests/spl_classes.phpt index 172c4ab92d..9d897c497d 100644 --- a/ext/spl/tests/spl_classes.phpt +++ b/ext/spl/tests/spl_classes.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: spl_classes() function +SPL: spl_classes() function --CREDITS-- Sebastian Schürmann sebs@php.net diff --git a/ext/spl/tests/spl_heap_recoverfromcorruption_arguments.phpt b/ext/spl/tests/spl_heap_recoverfromcorruption_arguments.phpt index 8726f4b32a..823c809f82 100644 --- a/ext/spl/tests/spl_heap_recoverfromcorruption_arguments.phpt +++ b/ext/spl/tests/spl_heap_recoverfromcorruption_arguments.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: SplHeap check no arguments to be accepted on recoverFromCorruption +SPL: SplHeap check no arguments to be accepted on recoverFromCorruption --CREDITS-- Rohan Abraham (rohanabrahams@gmail.com) TestFest London May 2009 diff --git a/ext/spl/tests/spl_iterator_iterator_constructor.phpt b/ext/spl/tests/spl_iterator_iterator_constructor.phpt index bbdcc34f0a..97ceee219c 100644 --- a/ext/spl/tests/spl_iterator_iterator_constructor.phpt +++ b/ext/spl/tests/spl_iterator_iterator_constructor.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: IteratorInterator constructor checks +SPL: IteratorInterator constructor checks --CREDITS-- Sean Burlington www.practicalweb.co.uk TestFest London May 2009 diff --git a/ext/spl/tests/spl_recursive_iterator_iterator_key_case.phpt b/ext/spl/tests/spl_recursive_iterator_iterator_key_case.phpt index d07e7a1421..4b8cfaa53d 100644 --- a/ext/spl/tests/spl_recursive_iterator_iterator_key_case.phpt +++ b/ext/spl/tests/spl_recursive_iterator_iterator_key_case.phpt @@ -1,5 +1,5 @@ --TEST-- -SPL: Test on RecursiveIteratorIterator key function checking switch statements +SPL: Test on RecursiveIteratorIterator key function checking switch statements --CREDITS-- Rohan Abraham (rohanabrahams@gmail.com) TestFest London May 2009 |
