/php-src/ext/standard/tests/file/ |
H A D | 007_variation4.phpt | 21 var_dump($file_handle); //Check for the content of handle 22 var_dump( get_resource_type($file_handle) ); //Check for the type of resource 23 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t… 25 …ll($file_handle) ); //File pointer position after write operation, expected at the end of the file 27 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file 28 …ell($file_handle) ); //File pointer position after read operation, expected at the end of the file 32 …lesize($file) ); //Check for size of existing data file before opening the file in "w+" mode agai… 35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+"… 40 var_dump( file_exists($file) ); //Check for the existence of file [all …]
|
H A D | fread_variation4.phpt | 9 Description : Read data from file of size $read_size and verifies that $expected_size no. of 12 $read_size : No. of bytes to be read. 21 // read the data of size $read_size 25 // check if data read is of expected size 29 echo "Error reading file, total number of bytes read = ".strlen($data_from_file)."\n"; 48 echo "\n-- Testing fread() with file having content of type ". $file_content_type ." --\n"; 91 } // end of inner foreach loop 92 }// end of outer foreach loop 99 -- Testing fread() with file having content of type numeric -- 254 -- Testing fread() with file having content of type text -- [all …]
|
/php-src/ext/bcmath/libbcmath/ |
H A D | README.md | 3 This is a fork of the bcmath library initially created by Phil Nelson in May 6 Bcmath is a library of arbitrary precision math routines. These routines, in a 11 less restrictions on the use of them. 13 These routines do not duplicate functionality of the GNU gmp library. The gmp 23 The math routines of GNU bc become more generally useful in a library form. By 30 2 integers) and "floats". None of these will correctly represent a POSIX BC 33 of digits to represent after the decimal point. The multiplying two of these 34 numbers requires one to calculate an exact number of digits after the decimal 35 point regardless of the number of digits in the integer part. GMP floats have
|
/php-src/ext/standard/tests/strings/ |
H A D | str_repeat.phpt | 23 echo "\n--- str_repeat() of '$input' ---\n" ; 41 --- str_repeat() of 'a' --- 47 --- str_repeat() of 'foo' --- 53 --- str_repeat() of 'barbazbax' --- 59 --- str_repeat() of '%0' --- 65 --- str_repeat() of '\0' --- 71 --- str_repeat() of '1' --- 77 --- str_repeat() of '4' --- 83 --- str_repeat() of '1.23' --- 89 --- str_repeat() of '' --- [all …]
|
H A D | pack64_32.phpt | 55 64-bit format codes are not available for 32-bit versions of PHP 56 64-bit format codes are not available for 32-bit versions of PHP 57 64-bit format codes are not available for 32-bit versions of PHP 58 64-bit format codes are not available for 32-bit versions of PHP 59 64-bit format codes are not available for 32-bit versions of PHP 60 64-bit format codes are not available for 32-bit versions of PHP 61 64-bit format codes are not available for 32-bit versions of PHP 62 64-bit format codes are not available for 32-bit versions of PHP
|
H A D | join_error.phpt | 7 // Less than expected number of arguments 8 echo "\n-- Testing join() with less than expected no. of arguments --\n"; 22 -- Testing join() with less than expected no. of arguments -- 23 join(): If argument #1 ($separator) is of type string, argument #2 ($array) must be of type array, …
|
/php-src/Zend/tests/offsets/ |
H A D | reference_containers_appended.phpt | 2 Taking reference of appended item $r = &$container[] 28 Deprecated: Automatic conversion of false to array is deprecated in %s on line %d 55 Error: Cannot use object of type stdClass as array 58 Notice: Indirect modification of overloaded element of ArrayObject has no effect in %s on line %d 69 Notice: Indirect modification of overloaded element of A has no effect in %s on line %d 75 Notice: Indirect modification of overloaded element of B has no effect in %s on line %d
|
/php-src/ext/tidy/tests/ |
H A D | 007.phpt | 10 echo "Current Value of 'tidy-mark': "; 12 echo "Current Value of 'error-file': "; 14 echo "Current Value of 'tab-size': "; 31 Current Value of 'tidy-mark': bool(false) 32 Current Value of 'error-file': string(0) "" 33 Current Value of 'tab-size': int(8)
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionObject_getConstants_basic.phpt | 20 echo "Reflecting on instance of class $class: \n"; 27 Reflecting on instance of class C: 32 Reflecting on instance of class D: 37 Reflecting on instance of class E: 42 Reflecting on instance of class F: 47 Reflecting on instance of class X:
|
H A D | ReflectionObject_getConstant_basic.phpt | 20 echo "Reflecting on instance of class $class: \n"; 27 Reflecting on instance of class C: 30 Reflecting on instance of class D: 33 Reflecting on instance of class E: 36 Reflecting on instance of class F: 39 Reflecting on instance of class X:
|
/php-src/ext/standard/tests/array/ |
H A D | array_change_key_case_variation5.phpt | 2 Test array_change_key_case() function : usage variations - position of internal pointer 6 * Check the position of the internal array pointer after calling the function 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: --
|
/php-src/ext/date/tests/ |
H A D | bug-gh9763.phpt | 21 …DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of range (+99:60) 22 …DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of range (+99:62) 23 …DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of range (-99:62) 24 …DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of range (-99:60) 25 Testing +9960: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of… 26 Testing -9960: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of…
|
H A D | gmstrftime_variation7.phpt | 12 //array of values to iterate over 14 'Day of the month as a decimal number' => "%d", 15 'Day of the year as a decimal number' => "%j", 16 'Day of the week as a decimal number' => "%w" 19 // loop through each element of the array for timestamp 31 --Day of the month as a decimal number-- 39 --Day of the year as a decimal number-- 47 --Day of the week as a decimal number--
|
H A D | strftime_variation7.phpt | 13 //array of values to iterate over 15 'Day of the month as a decimal number' => "%d", 16 'Day of the year as a decimal number' => "%j", 17 'Day of the week as a decimal number' => "%w" 20 // loop through each element of the array for timestamp 32 --Day of the month as a decimal number-- 40 --Day of the year as a decimal number-- 48 --Day of the week as a decimal number--
|
H A D | strtotime_variation_scottish.phpt | 6 var_dump(date('H:i:s', strtotime('back of 7'))); 7 var_dump(date('H:i:s', strtotime('front of 7'))); 8 var_dump(date('H:i:s', strtotime('back of 19'))); 9 var_dump(date('H:i:s', strtotime('front of 19')));
|
/php-src/build/ |
H A D | ax_func_which_gethostbyname_r.m4 | 11 # Determines which historical variant of the gethostbyname_r() call 13 # defines one of the following macros accordingly: 24 # test.c can be used regardless of which gethostbyname_r() is available. 39 # under the terms of the GNU General Public License as published by the 40 # Free Software Foundation; either version 2 of the License, or (at your 44 # WITHOUT ANY WARRANTY; without even the implied warranty of 55 # or distributing such scripts, even though portions of the text of the 57 # all other use of the material that constitutes the Autoconf Macro. 59 # This special exception to the GPL applies to versions of the Autoconf 61 # modified version of the Autoconf Macro, you may extend this special [all …]
|
/php-src/ext/spl/tests/ |
H A D | fixedarray_003.phpt | 171 Cannot access offset of type array on SplFixedArray 175 Cannot access offset of type string on SplFixedArray 176 Cannot access offset of type string on SplFixedArray 177 Cannot access offset of type string on SplFixedArray 184 Cannot access offset of type array on SplFixedArray 190 Cannot access offset of type string on SplFixedArray 191 Cannot access offset of type string on SplFixedArray 192 Cannot access offset of type string on SplFixedArray 199 Cannot access offset of type array on SplFixedArray 205 Cannot access offset of type string on SplFixedArray [all …]
|
/php-src/ext/standard/tests/math/ |
H A D | decbin_variation1.phpt | 36 // loop through each element of $inputs to check the behaviour of decbin() 64 decbin(): Argument #1 ($num) must be of type int, float given 67 decbin(): Argument #1 ($num) must be of type int, float given 70 decbin(): Argument #1 ($num) must be of type int, float given 85 decbin(): Argument #1 ($num) must be of type int, string given 88 decbin(): Argument #1 ($num) must be of type int, string given
|
H A D | dechex_variation1.phpt | 36 // loop through each element of $inputs to check the behaviour of dechex() 64 dechex(): Argument #1 ($num) must be of type int, float given 67 dechex(): Argument #1 ($num) must be of type int, float given 70 dechex(): Argument #1 ($num) must be of type int, float given 85 dechex(): Argument #1 ($num) must be of type int, string given 88 dechex(): Argument #1 ($num) must be of type int, string given
|
H A D | decoct_variation1.phpt | 36 // loop through each element of $inputs to check the behaviour of decoct() 64 decoct(): Argument #1 ($num) must be of type int, float given 67 decoct(): Argument #1 ($num) must be of type int, float given 70 decoct(): Argument #1 ($num) must be of type int, float given 85 decoct(): Argument #1 ($num) must be of type int, string given 88 decoct(): Argument #1 ($num) must be of type int, string given
|
/php-src/ext/standard/tests/password/ |
H A D | password_hash_error_argon2.phpt | 2 Test error operation of password_hash() with Argon2i and Argon2id 48 Memory cost is outside of allowed memory range 49 Time cost is outside of allowed time range 50 Invalid number of threads 51 Memory cost is outside of allowed memory range 52 Time cost is outside of allowed time range 53 Invalid number of threads
|
/php-src/ext/mbstring/tests/ |
H A D | gh10192_utf7.phpt | 43 'valid base64 character consisting only of + between + and end of string' => 'A +++++++++', 44 'invalid base64 character consisting only of + between + and end of string' => 'A +++++++++', 46 …'first 16 bits of base64 character using surrogate pair between + and -' => 'A +2Gc- B', // first … 52 … 'first 16 bits of base64 character using surrogate pair between + and end of string' => 'A +2Gc', 60 …'last 16 bits of base64 character using surrogate pair in reverse order between + and end of strin… 310 valid base64 character between + and end of string 319 invalid base64 character between + and end of string 382 valid base64 character consisting only of + between + and end of string 391 invalid base64 character consisting only of + between + and end of string 463 first 16 bits of base64 character using surrogate pair between + and end of string [all …]
|
H A D | mb_str_functions_opt-parameter.phpt | 20 Deprecated: mb_strpos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on … 23 Deprecated: mb_strrpos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on… 26 Deprecated: mb_stripos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on… 29 Deprecated: mb_strripos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s o… 32 Deprecated: mb_strstr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated i… 35 Deprecated: mb_strrchr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated … 38 Deprecated: mb_stristr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated … 41 Deprecated: mb_strrichr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated… 46 Deprecated: mb_strimwidth(): Passing null to parameter #4 ($trim_marker) of type string is deprecat…
|
/php-src/ext/bz2/tests/ |
H A D | 003.txt.bz2 |
|
H A D | 003私はガラスを食べられます.txt.bz2 |
|