/PHP-7.1/ext/standard/tests/file/ |
H A D | fflush_variation2.phpt | 259 line of text 261 line of text 269 line of text 271 line of text 279 line of text 281 line of text 289 line of text 291 line of text 299 line of text 301 line of text [all …]
|
H A D | filesize_basic.phpt | 7 * Description: Returns the size of the file in bytes, or FALSE 8 * (and generates an error of level E_WARNING) in case of an error. 12 echo "*** Testing size of files and directories with filesize() ***\n"; 34 *** Testing size of files and directories with filesize() ***
|
H A D | fileinode_error.phpt | 7 Description: Returns the inode number of the file, or FALSE in case of an error. 10 echo "*** Testing error conditions of fileinode() ***"; 19 /* No.of arguments less than expected */ 22 /* No.of arguments greater than expected */ 27 *** Testing error conditions of fileinode() ***
|
H A D | 007_variation12-win32.phpt | 37 var_dump($file_handle); //Check for the content of handle 38 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 41 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 43 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file 44 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 48 …esize($file) ); //Check for size of existing data file before opening the file in "w+t" mode agai… 51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t… 56 var_dump( file_exists($file) ); //Check for the existence of file [all …]
|
H A D | 007_variation12.phpt | 37 var_dump($file_handle); //Check for the content of handle 38 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 41 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 43 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file 44 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 48 …esize($file) ); //Check for size of existing data file before opening the file in "w+t" mode agai… 51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t… 56 var_dump( file_exists($file) ); //Check for the existence of file [all …]
|
H A D | 007_variation20.phpt | 32 var_dump($file_handle); //Check for the content of handle 33 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 35 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 36 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 38 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file 39 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 43 …esize($file) ); //Check for size of existing data file before opening the file in "w+b" mode agai… 46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+b… 51 var_dump( file_exists($file) ); //Check for the existence of file [all …]
|
H A D | 007_variation11-win32.phpt | 37 var_dump($file_handle); //Check for the content of handle 38 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 41 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 44 …ile_handle) ); //File pointer position after read operation, expected at the beginning of the file 48 …lesize($file) ); //Check for size of existing data file before opening the file in "wt" mode agai… 51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "wt"… 56 var_dump( file_exists($file) ); //Check for the existence of file 64 resource(%d) of type (stream)
|
/PHP-7.1/ext/ldap/tests/ |
H A D | ldap_connect_variation.phpt | 34 resource(%d) of type (ldap link) 35 resource(%d) of type (ldap link) 36 resource(%d) of type (ldap link) 37 resource(%d) of type (ldap link) 38 resource(%d) of type (ldap link)
|
/PHP-7.1/ext/pcre/pcrelib/testdata/ |
H A D | grepinputx | 1 This is a second file of input for the pcregrep tests. 11 of lines 14 of lines all by themselves. 17 of lines 43 This is the last line of this file.
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | array_intersect_uassoc_variation6.phpt | 2 Test array_intersect_uassoc() function : usage variation - Intersection of floating points with str… 6 …* Description: Computes the intersection of arrays with additional index check, compares indexes b… 25 echo "\n-- Result of floating points and strings containing integers intersection --\n"; 28 echo "\n-- Result of floating points and strings containing floating point intersection --\n"; 35 -- Result of floating points and strings containing integers intersection -- 43 -- Result of floating points and strings containing floating point intersection --
|
H A D | array_intersect_ukey_variation6.phpt | 2 Test array_intersect_ukey() function : usage variation - Intersection of floating points with strin… 6 …* Description: Computes the intersection of arrays using a callback function on the keys for compa… 26 echo "\n-- Result of floating points and strings containing integers intersection --\n"; 29 echo "\n-- Result of floating points and strings containing floating point intersection --\n"; 36 -- Result of floating points and strings containing integers intersection -- 44 -- Result of floating points and strings containing floating point intersection --
|
H A D | array_shift_error.phpt | 2 Test array_shift() function : error conditions - Pass incorrect number of args 6 * Description: Pops an element off the beginning of the array 11 * Pass incorrect number of arguments to array_shift() to test behaviour 20 //Test array_shift with one more than the expected number of arguments 21 echo "\n-- Testing array_shift() function with more than expected no. of arguments --\n"; 36 -- Testing array_shift() function with more than expected no. of arguments --
|
H A D | array_change_key_case_variation5.phpt | 2 Test array_change_key_case() function : usage variations - position of internal pointer 11 * Check the position of the internal array pointer after calling the function 21 echo "-- Position of Internal Pointer in Result: --\n"; 23 echo "\n-- Position of Internal Pointer in Original Array: --\n"; 40 -- Position of Internal Pointer in Result: -- 43 -- Position of Internal Pointer in Original Array: --
|
H A D | array_splice_variation1.phpt | 18 echo "Test behaviour of input arrays containing references \n"; 29 echo "Test behaviour of replacement array containing references \n"; 38 echo "Test behaviour of replacement which is part of reference set \n"; 66 Test behaviour of input arrays containing references 91 Test behaviour of replacement array containing references 102 Test behaviour of replacement which is part of reference set
|
H A D | array_rand_variation2.phpt | 13 * Test array_rand() with different types of values other than int passed to 'num_req' argument 36 //array of values to iterate over 81 // loop through each element of the array for different values for 'num_req' argument 96 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 104 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 109 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 138 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 143 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 148 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 153 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … [all …]
|
/PHP-7.1/ext/oci8/tests/ |
H A D | connect_with_charset_001.phpt | 25 resource(%d) of type (oci8 connection) 26 resource(%d) of type (oci8 connection) 29 resource(%d) of type (oci8 connection) 32 resource(%d) of type (oci8 connection) 34 resource(%d) of type (oci8 connection) 35 resource(%d) of type (oci8 connection)
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | strripos_error.phpt | 6 * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' 14 echo "\n-- With less than expected number of arguments --"; 17 echo "\n-- With more than expected number of arguments --"; 27 -- With less than expected number of arguments -- 31 -- With more than expected number of arguments --
|
H A D | strrpos_error.phpt | 6 * Description: Find position of last occurrence of 'needle' in 'haystack'. 14 echo "\n-- With less than expected number of arguments --"; 17 echo "\n-- With more than expected number of arguments --"; 27 -- With less than expected number of arguments -- 31 -- With more than expected number of arguments --
|
H A D | strcspn_error.phpt | 6 * Description: Finds length of initial segment consisting entirely of characters not found in mask. 22 //Test strcspn with one more than the expected number of arguments 23 echo "\n-- Testing strcspn() function with more than expected no. of arguments --\n"; 33 // Testing strcspn withone less than the expected number of arguments 34 echo "\n-- Testing strcspn() function with less than expected no. of arguments --\n"; 48 -- Testing strcspn() function with more than expected no. of arguments -- 53 -- Testing strcspn() function with less than expected no. of arguments --
|
H A D | strspn_error.phpt | 6 * Description: Finds length of initial segment consisting entirely of characters found in mask. 22 //Test strspn with one more than the expected number of arguments 23 echo "\n-- Testing strspn() function with more than expected no. of arguments --\n"; 33 // Testing strspn withone less than the expected number of arguments 34 echo "\n-- Testing strspn() function with less than expected no. of arguments --\n"; 48 -- Testing strspn() function with more than expected no. of arguments -- 53 -- Testing strspn() function with less than expected no. of arguments --
|
/PHP-7.1/ext/standard/tests/url/ |
H A D | base64_encode_error_001.phpt | 2 Test base64_encode() function : error conditions - wrong number of args 11 echo "*** Testing base64_encode() : error conditions - wrong number of args ***\n"; 17 //Test base64_encode with one more than the expected number of arguments 18 echo "\n-- Testing base64_encode() function with more than expected no. of arguments --\n"; 26 *** Testing base64_encode() : error conditions - wrong number of args *** 33 -- Testing base64_encode() function with more than expected no. of arguments --
|
/PHP-7.1/ext/gd/tests/ |
H A D | imagecopyresampled_basic.phpt | 12 * Description: Copy and resize part of an image with resampling. 17 echo "Simple test of imagecopyresampled() function\n"; 38 $percent = 0.5; // new image 50% of original 40 echo "Size of original: width=". $width . " height=" . $height . "\n"; 52 echo "Size of copy: width=". $width . " height=" . $height . "\n"; 68 Simple test of imagecopyresampled() function 69 Size of original: width=400 height=300 70 Size of copy: width=200 height=150
|
/PHP-7.1/ext/mbstring/tests/ |
H A D | mb_ereg_match_error1.phpt | 2 Test mb_ereg_match() function : error conditions - pass function incorrect number of arguments 16 * Test mb_ereg_match by passing an incorrect number of arguments 22 //Test mb_ereg_match with one more than the expected number of arguments 23 echo "\n-- Testing mb_ereg_match() function with more than expected no. of arguments --\n"; 30 // Testing mb_ereg_match with one less than the expected number of arguments 31 echo "\n-- Testing mb_ereg_match() function with less than expected no. of arguments --\n"; 44 -- Testing mb_ereg_match() function with more than expected no. of arguments -- 49 -- Testing mb_ereg_match() function with less than expected no. of arguments --
|
H A D | mb_strripos_variation5_Bug45923.phpt | 11 * Description: Finds position of last occurrence of a string within another, case insensitive 18 * The character length of $string_ascii and $string_mb is the same, 33 * Loop through integers as multiples of ten for $offset argument 77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d 81 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d 87 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d 91 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d 97 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d 101 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d 107 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d [all …]
|
/PHP-7.1/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 …]
|