/PHP-5.5/ext/mcrypt/tests/ |
H A D | mcrypt_decrypt_error.phpt | 20 //Test mcrypt_decrypt with one more than the expected number of arguments 21 echo "\n-- Testing mcrypt_decrypt() function with more than expected no. of arguments --\n"; 30 // Testing mcrypt_decrypt with one less than the expected number of arguments 31 echo "\n-- Testing mcrypt_decrypt() function with less than expected no. of arguments --\n"; 42 -- Testing mcrypt_decrypt() function with more than expected no. of arguments -- 47 -- Testing mcrypt_decrypt() function with less than expected no. of arguments --
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | readfile_variation3.phpt | 49 line of text 51 line of text 53 line of t 57 line of text 59 line of text 61 line of t
|
H A D | 007_variation8.phpt | 29 var_dump($file_handle); //Check for the content of handle 30 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 32 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 33 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 35 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of the… 36 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 47 resource(%d) of type (stream)
|
H A D | fopen_variation19.phpt | 39 echo "*** testing reading of links ***\n"; 44 echo "link of link:"; 52 echo "link of link:"; 60 echo "link of link:"; 98 *** testing reading of links *** 101 link of link:Hello World 105 link of link:Hello World again! again! again! 109 link of link:Goodbye World
|
H A D | filesize_variation4-win32.phpt | 12 Description : Returns the size of the file in bytes, or FALSE 13 (and generates an error of level E_WARNING) in case of an error. 26 var_dump( strlen($string) ); //strlen of the string 29 var_dump( filesize($filename) ); //size of the file = strlen of string 34 var_dump( strlen($string) ); //strlen of the string = 191 bytes 37 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string 56 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole 63 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
|
H A D | fileowner_error.phpt | 2 Test of fileowner() function: error conditions 6 * Description: Returns the user ID of the owner of the file, or 7 * FALSE in case of an error. 18 /* Invalid no.of arguments */
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_merge_variation10.phpt | 2 Test array_merge() function : usage variations - position of internal array pointer 11 * Check the position of the internal array pointer after calling array_merge(). 24 echo "\n-- Position of Internal Pointer in Result: --\n"; 27 echo "\n-- Position of Internal Pointer in Original Array: --\n"; 63 -- Position of Internal Pointer in Result: -- 66 -- Position of Internal Pointer in Original Array: --
|
H A D | array_shift_variation2.phpt | 2 Test array_shift() function : usage variations - Pass arrays of different data types 6 * Description: Pops an element off the beginning of the array 11 * Pass arrays where values are of one data type to test behaviour of array_shift() 37 // arrays of different data types to be passed to $stack argument 108 // loop through each element of $inputs to check the behavior of array_shift 205 resource(%d) of type (stream)
|
H A D | array_diff_key_error.phpt | 6 …* Description: Returns the entries of arr1 that have keys which are not present in any of the othe… 15 // Testing array_diff_key with one less than the expected number of arguments 16 echo "\n-- Testing array_diff_key() function with less than expected no. of arguments --\n"; 27 -- Testing array_diff_key() function with less than expected no. of arguments --
|
H A D | current_error.phpt | 2 Test current() function : error conditions - Pass incorrect number of args 12 * Pass incorrect number of arguments to current() to test behaviour 21 //Test current with one more than the expected number of arguments 22 echo "\n-- Testing current() function with more than expected no. of arguments --\n"; 36 -- Testing current() function with more than expected no. of arguments --
|
H A D | end_error.phpt | 2 Test end() function : error conditions - Pass incorrect number of args 11 * Pass incorrect number of arguments to end() to test behaviour 20 //Test end with one more than the expected number of arguments 21 echo "\n-- Testing end() function with more than expected no. of arguments --\n"; 35 -- Testing end() function with more than expected no. of arguments --
|
H A D | next_error.phpt | 2 Test next() function : error conditions - Pass incorrect number of arguments 11 * Pass incorrect number of arguments to next() to test behaviour 20 //Test next with one more than the expected number of arguments 21 echo "\n-- Testing next() function with more than expected no. of arguments --\n"; 35 -- Testing next() function with more than expected no. of arguments --
|
H A D | prev_error1.phpt | 2 Test prev() function : error conditions - Pass incorrect number of arguments 11 * Pass incorrect number of arguments to prev() to test behaviour 20 //Test prev with one more than the expected number of arguments 21 echo "\n-- Testing prev() function with more than expected no. of arguments --\n"; 35 -- Testing prev() function with more than expected no. of arguments --
|
H A D | reset_error.phpt | 2 Test reset() function : error conditions - Pass incorrect number of args 11 * Pass incorrect number of arguments to reset() to test behaviour 20 //Test reset with one more than the expected number of arguments 21 echo "\n-- Testing reset() function with more than expected no. of arguments --\n"; 35 -- Testing reset() function with more than expected no. of arguments --
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strtok_error.phpt | 20 // More than expected number of arguments 21 echo "\n-- Testing strtok() function with more than expected no. of arguments --\n"; 29 // Less than expected number of arguments 30 echo "\n-- Testing strtok() with less than expected no. of arguments --\n"; 46 -- Testing strtok() function with more than expected no. of arguments -- 52 -- Testing strtok() with less than expected no. of arguments --
|
H A D | chunk_split_error.phpt | 12 * Testing error conditions of chunk_split() with zero arguments 13 * and for more than expected number of arguments 22 // With one more than the expected number of arguments 27 echo "-- Testing chunk_split() function with more than expected no. of arguments --"; 37 -- Testing chunk_split() function with more than expected no. of arguments --
|
/PHP-5.5/tests/lang/ |
H A D | returnByReference.003.phpt | 17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 41 ---> 1. Trying to assign by reference the return value of a function that returns by value: 47 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 53 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
H A D | returnByReference.004.phpt | 19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 43 ---> 1. Trying to assign by reference the return value of a function that returns by value: 49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
H A D | returnByReference.005.phpt | 20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 44 ---> 1. Trying to assign by reference the return value of a function that returns by value: 50 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 56 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | bug43841.phpt | 11 * Description: Find position of last occurrence of a string within another 42 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 47 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 51 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d 57 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 62 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 66 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
|
H A D | mb_strrpos_variation3.phpt | 11 * Description: Find position of last occurrence of a string within another 79 // loop through each element of $inputs to check the behavior of mb_strrpos() 100 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 105 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 116 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 145 Notice: Object of class classA could not be converted to int in %s on line %d
|
/PHP-5.5/ |
H A D | CODING_STANDARDS | 7 stage of the development of PHP v3.0, the code base does not (yet) fully 70 existence of a function 92 readability of the function name itself:: 109 2. If they are part of a "parent set" of functions, that parent should 112 of ``parent_*``:: 114 A family of 'foo' functions, for example: 156 the name of the extension):: 201 of PHP or one of its standard modules, please maintain the K&R 227 of a line, followed by any number of whitespace. 244 Returns the absolute value of the number */ [all …]
|
/PHP-5.5/ext/interbase/tests/ |
H A D | 004.phpt | 84 …ibase_blob_add($bl_h, "| it under the terms of one of the following licenses: |\n"… 124 echo "end of test\n"; 139 | it under the terms of one of the following licenses: | 142 | Foundation; either version 2 of the License, or (at your option) | 149 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 153 | You should have received a copy of both licenses referred to here. | 164 | it under the terms of one of the following licenses: | 167 | Foundation; either version 2 of the License, or (at your option) | 174 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 178 | You should have received a copy of both licenses referred to here. | [all …]
|
/PHP-5.5/ext/xml/tests/ |
H A D | xml_parser_create_ns_variation1.phpt | 179 resource(%d) of type (xml) 182 resource(%d) of type (xml) 190 resource(%d) of type (xml) 198 resource(%d) of type (xml) 201 resource(%d) of type (xml) 204 resource(%d) of type (xml) 217 resource(%d) of type (xml) 220 resource(%d) of type (xml) 223 resource(%d) of type (xml) 241 resource(%d) of type (xml) [all …]
|
H A D | xml_parser_create_variation1.phpt | 179 resource(%d) of type (xml) 182 resource(%d) of type (xml) 190 resource(%d) of type (xml) 198 resource(%d) of type (xml) 201 resource(%d) of type (xml) 204 resource(%d) of type (xml) 217 resource(%d) of type (xml) 220 resource(%d) of type (xml) 223 resource(%d) of type (xml) 241 resource(%d) of type (xml) [all …]
|