/php-src/ext/standard/tests/dir/ |
H A D | dir_variation5.phpt | 2 Test dir() function : usage variations - open a file instead of directory 12 * Passing a file as argument to dir() function instead of a directory 16 echo "*** Testing dir() : open a file instead of a directory ***\n"; 18 // open the file instead of directory 25 *** Testing dir() : open a file instead of a directory ***
|
/php-src/ext/standard/tests/serialize/ |
H A D | unserialize_extra_data_001.phpt | 2 Test unserialize() with extra data at the end of a valid value 13 Warning: unserialize(): Extra data starting at offset 4 of 8 bytes in %s on line %d 16 Warning: unserialize(): Extra data starting at offset 2 of 6 bytes in %s on line %d 19 Warning: unserialize(): Extra data starting at offset 4 of 8 bytes in %s on line %d 22 Warning: unserialize(): Extra data starting at offset 20 of 24 bytes in %s on line %d
|
/php-src/ext/standard/tests/file/ |
H A D | fflush_variation2.phpt | 256 line of text 258 line of text 266 line of text 268 line of text 276 line of text 278 line of text 286 line of text 288 line of text 296 line of text 298 line of text [all …]
|
H A D | 007_variation18.phpt | 20 var_dump($file_handle); //Check for the content of handle 21 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 25 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 26 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 37 resource(%d) of type (stream) 41 line of text
|
H A D | 007_variation2.phpt | 20 var_dump($file_handle); //Check for the content of handle 21 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 25 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 26 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 37 resource(%d) of type (stream) 41 line of text
|
H A D | 007_variation10.phpt | 20 var_dump($file_handle); //Check for the content of handle 21 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 25 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 26 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 37 resource(%d) of type (stream) 41 line of text
|
H A D | fflush_basic.phpt | 8 first line of string 9 second line of string 10 third line of string 46 first line of string 47 second line of string 48 third line of stringint(63)
|
H A D | 007_variation14.phpt | 20 var_dump($file_handle); //Check for the content of handle 21 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 22 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 24 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file 25 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 31 var_dump( file_exists($file) ); //Check for the existence of file 40 resource(%d) of type (stream) 44 line of text
|
H A D | 007_variation22.phpt | 20 var_dump($file_handle); //Check for the content of handle 21 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 22 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 24 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file 25 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 31 var_dump( file_exists($file) ); //Check for the existence of file 40 resource(%d) of type (stream) 44 line of text
|
/php-src/Zend/tests/offsets/ |
H A D | appending_containers_in_fetch.phpt | 30 Deprecated: Automatic conversion of false to array is deprecated in %s on line %d 61 Error: Cannot use object of type stdClass as array 64 Notice: Indirect modification of overloaded element of ArrayObject has no effect in %s on line %d 74 Notice: Indirect modification of overloaded element of A has no effect in %s on line %d 78 Notice: Indirect modification of overloaded element of B has no effect in %s on line %d
|
/php-src/Zend/tests/typehints/ |
H A D | or_null.phpt | 211 TypeError: loadedClass(): Argument #1 ($param) must be of type ?RealClass, int given, called in %s:… 219 TypeError: callableF(): Argument #1 ($param) must be of type ?callable, int given, called in %s:%d 223 TypeError: intF(): Argument #1 ($param) must be of type ?int, stdClass given, called in %s:%d 227 TypeError: returnUnloadedClass(): Return value must be of type ?I\Dont\Exist, stdClass returned in … 231 TypeError: returnLoadedClass(): Return value must be of type ?RealClass, stdClass returned in %s:%d 243 TypeError: returnLoadedClassScalar(): Return value must be of type ?RealClass, int returned in %s:%d 251 TypeError: returnCallable(): Return value must be of type ?callable, int returned in %s:%d 255 TypeError: returnInt(): Return value must be of type ?int, stdClass returned in %s:%d 263 TypeError: returnMissingLoadedClass(): Return value must be of type ?RealClass, none returned in %s… 271 TypeError: returnMissingCallable(): Return value must be of type ?callable, none returned in %s:%d [all …]
|
/php-src/Zend/tests/closures/ |
H A D | closure_from_callable_basic.phpt | 20 echo 'Access public instance method of object'; 24 echo 'Access public instance method of parent object through parent:: '; 74 echo 'Access public instance method of self object through "self::" '; 103 Access public instance method of object OK 104 Access public instance method of parent object through parent:: OK 114 Access public instance method of parent object through "parent::" 115 Deprecated: Use of "parent" in callables is deprecated in %s on line %d 117 Access public instance method of self object through "self::" 118 Deprecated: Use of "self" in callables is deprecated in %s on line %d 121 Deprecated: Use of "self" in callables is deprecated in %s on line %d [all …]
|
/php-src/ext/zlib/tests/ |
H A D | data.inc | 5 The Slings and Arrows of outrageous Fortune 6 Or to take arms against a sea of troubles, 16 That makes calamity of so long life, 20 The insolence of office, and the spurns 21 That patient merit of th'unworthy takes, 25 But that the dread of something after death, 29 Than fly to others that we know not of? 31 And thus the native hue of resolution 33 And enterprises of great pitch and moment 35 And lose the name of action. [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | strspn_variation5.phpt | 6 * Description: Finds length of initial segment consisting entirely of characters found in mask. 29 first line of heredoc string 30 second line of heredoc string 31 third line of heredocstring 66 // loop through each element of the array for str argument 86 -- Iteration with str value as "first line of heredoc string 87 second line of heredoc string 88 third line of heredocstring" --
|
H A D | strcspn_variation5.phpt | 6 * Description: Finds length of initial segment consisting entirely of characters not found in mask. 29 first line of heredoc string 30 second line of heredoc string 31 third line of heredocstring 66 // loop through each element of the array for str argument 86 -- Iteration with str value as "first line of heredoc string 87 second line of heredoc string 88 third line of heredocstring" --
|
H A D | setlocale_variation2.phpt | 26 // start the buffering of next command to internal output buffer 65 echo "No of locales found on the machine = ".count($all_system_locales)."\n"; 66 echo "No of setlocale() success = ".$success_count."\n"; 67 echo "Expected no of failures = 0\n"; 69 // check if there were any failure of setlocale() function earlier, if any 70 // failure then dump the list of failing locales 73 echo "Names of locale() for which setlocale() failed ...\n"; 85 No of locales found on the machine = %d 86 No of setlocale() success = %d 87 Expected no of failures = 0
|
/php-src/ext/opcache/tests/jit/ |
H A D | bug81225_2.phpt | 18 …$e = $a + 2147483648; // 0x8000,0000 cannot encoded as imm field of lea r1, [r2 + imm] 19 …$f = $a + 78187493394; // 0x12,1234,5678 cannot encoded as imm field of lea r1, [r2 + imm] 28 …$e = $a + (-2147483649); // 0xFFFF,FFFF,7FFF,FFFF cannot encoded as imm field of lea r1, [r… 29 …$f = $a + (-261458978401740); // 0xFFFF,1234,5678,1234 cannot encoded as imm field of lea r1, [r… 39 …$f = $a - 2147483649; // 0x8000,0001 cannot encoded as imm field of lea r1, [r2 + imm] 40 …$g = $a - 78187493394; // 0x12,1234,5678 cannot encoded as imm field of lea r1, [r2 + imm] 49 …$e = $a - (-2147483648); // 0xFFFF,FFFF,8000,0000 cannot encoded as imm field of lea r1, [r… 50 …$f = $a - (-2147483649); // 0xFFFF,FFFF,7FFF,FFFF cannot encoded as imm field of lea r1, [r… 51 …$g = $a - (-261458978401740); // 0xFFFF,1234,5678,1234 cannot encoded as imm field of lea r1, [r…
|
/php-src/Zend/tests/ |
H A D | objects_001.phpt | 40 Notice: Object of class Bar could not be converted to int in %s on line %d 43 Notice: Object of class Bar could not be converted to int in %s on line %d 46 Notice: Object of class Bar could not be converted to int in %s on line %d 49 Notice: Object of class Bar could not be converted to int in %s on line %d 52 Notice: Object of class Bar could not be converted to float in %s on line %d 55 Notice: Object of class Bar could not be converted to float in %s on line %d 58 Notice: Object of class Bar could not be converted to int in %s on line %d
|
/php-src/ext/hash/tests/ |
H A D | hash_equals.phpt | 42 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, int given 43 [TypeError] hash_equals(): Argument #2 ($user_string) must be of type string, int given 44 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, int given 45 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given 46 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given 47 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given
|
/php-src/ext/standard/tests/array/ |
H A D | array_intersect_ukey_variation6.phpt | 2 Test array_intersect_ukey() function : usage variation - Intersection of floating points with strin… 21 echo "\n-- Result of floating points and strings containing integers intersection --\n"; 24 echo "\n-- Result of floating points and strings containing floating point intersection --\n"; 30 -- Result of floating points and strings containing integers intersection -- 38 -- Result of floating points and strings containing floating point intersection --
|
H A D | array_values_variation5.phpt | 6 * Test the position of the internal array pointer after a call to array_values 16 echo "-- Position of Internal Pointer in Result: --\n"; 18 echo "\n-- Position of Internal Pointer in Original Array: --\n"; 35 -- Position of Internal Pointer in Result: -- 38 -- Position of Internal Pointer in Original Array: --
|
H A D | array_values_variation6.phpt | 7 * 1. Passed an array made up of referenced variables 17 echo "\n-- \$input is an array made up of referenced variables: --\n"; 21 echo "Change \$val2 and check result of array_values():\n"; 30 -- $input is an array made up of referenced variables: -- 39 Change $val2 and check result of array_values():
|
/php-src/ext/libxml/tests/ |
H A D | 004.phpt | 31 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, null given 33 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given 35 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, int given 37 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, stdClass given 39 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, array given
|
/php-src/Zend/asm/ |
H A D | make_arm_aapcs_elf_gas.S | 54 @ third arg of make_fcontext() == address of context-function 57 @ compute address of returned transfer_t 62 @ compute abs address of label finish 64 @ save address of finish as return-address for context-function
|
/php-src/ext/spl/tests/ |
H A D | ArrayObject_illegal_offset.phpt | 35 Cannot access offset of type array on ArrayObject 36 Cannot access offset of type array on ArrayObject 37 Cannot access offset of type array on ArrayObject 38 Cannot access offset of type array in isset or empty 39 Cannot unset offset of type array on ArrayObject
|