/PHP-5.6/ext/standard/tests/strings/ |
H A D | str_pad_variation4.phpt | 6 * Description: Pad a string to a certain length with another string 80 // loop through with each element of the $pad_types array to test str_pad() function 100 Warning: str_pad(): Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH in %s on li… 104 Warning: str_pad(): Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH in %s on li… 108 Warning: str_pad(): Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH in %s on li… 124 Warning: str_pad() expects parameter 4 to be long, string given in %s on line %d 128 Warning: str_pad() expects parameter 4 to be long, string given in %s on line %d 138 Warning: str_pad() expects parameter 4 to be long, array given in %s on line %d 142 Warning: str_pad() expects parameter 4 to be long, array given in %s on line %d 146 Warning: str_pad() expects parameter 4 to be long, array given in %s on line %d [all …]
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | intval_variation2.phpt | 8 * Alias to functions: 50 //array of values to iterate over 125 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 129 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 133 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 137 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 159 Error: 2 - intval() expects parameter 2 to be long, string given, %s(%d) 163 Error: 2 - intval() expects parameter 2 to be long, string given, %s(%d) 167 Error: 2 - intval() expects parameter 2 to be long, string given, %s(%d) 171 Error: 2 - intval() expects parameter 2 to be long, string given, %s(%d) [all …]
|
/PHP-5.6/ext/date/tests/ |
H A D | localtime_variation1.phpt | 7 * if the associative_array argument is set to 1 other wise it is a regular array 9 * Alias to functions: 43 //array of values to iterate over 229 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d 232 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d 237 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d 240 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d 245 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d 248 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d 253 Warning: localtime() expects parameter 1 to be long, array given in %s on line %d [all …]
|
H A D | strftime_variation8.phpt | 2 Test strftime() function : usage variation - Passing literal related strings to format argument. 6 * Description: Format a local time/date according to locale settings 8 * Alias to functions: 19 echo "\n-- Testing strftime() function with a literal % character to format --\n"; 28 -- Testing strftime() function with a literal % character to format --
|
H A D | date_default_timezone_get-1-win32.phpt | 14 …/* The behaviour on windows is to select an arbitrary timezone name from the current system settin… 15 This gives no chance to hardcode the timezone name, for instance for UTC+1 it could choose 20 …to rely on the system's timezone settings. You are *required* to use the date.timezone setting or … 23 …to rely on the system's timezone settings. You are *required* to use the date.timezone setting or …
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | readfile_variation10.phpt | 15 * Alias to functions: 51 Warning: readfile(-1): failed to open stream: %s in %s on line %d 54 Warning: readfile(1): failed to open stream: %s in %s on line %d 66 Warning: readfile( ): failed to open stream: %s in %s on line %d 69 Warning: readfile() expects parameter 1 to be a valid path, string given in %s on line %d 71 Notice: Array to string conversion in %s line %d 74 Warning: readfile() expects parameter 1 to be a valid path, array given in %s on line %d 77 Warning: readfile(%sdir): failed to open stream: %s in %s on line %d 80 Warning: readfile(%sphp): failed to open stream: %s in %s on line %d
|
H A D | fstat_variation3.phpt | 25 Warning: fstat() expects parameter 1 to be resource, null given in %s on line %d 28 Warning: fstat() expects parameter 1 to be resource, null given in %s on line %d 31 Warning: fstat() expects parameter 1 to be resource, string given in %s on line %d 34 Warning: fstat() expects parameter 1 to be resource, string given in %s on line %d 37 Warning: fstat() expects parameter 1 to be resource, null given in %s on line %d 40 Warning: fstat() expects parameter 1 to be resource, null given in %s on line %d
|
/PHP-5.6/ext/soap/tests/bugs/ |
H A D | bug29830.phpt | 9 public function hello($to) { 10 return 'Hello ' . $to; 12 private function bye($to) { 13 return 'Bye ' . $to;
|
/PHP-5.6/ |
H A D | UPGRADING | 13 9. Other Changes to Extensions 15 11. Changes to INI File Handling 25 arrays. Quick example to illustrate: 102 - Added the __debugInfo() magic method to allow userland classes to implement 126 . "ecdh_curve" allows stream servers to specify which curve to use when 193 to avoid confusion. Their use triggers E_DEPRECATED but continues to work as 201 internal_encoding/input_encoding/output_encoding. Refer to "Changes to 340 9. Other Changes to Extensions 447 11. Changes to INI File Handling 460 handling modules. Refer to "Changes to encodings in PHP 5.6" in "11. Other Changes" [all …]
|
H A D | README.TESTING | 5 You may decide to automatically submit a test summary to our QA workflow 14 The easiest way to test your PHP build is to run "make test" from the 19 type "make test" to execute all or some test scripts saved under 37 select the PHP executable that is to be tested, that is, used to run the test scripts. 42 you must build PHP with CGI SAPI to perform all tests. 82 code executed to the test script directory. For example, if 108 If you like to keep up to speed, with latest developments and quality 117 Example script to be run by cron(1): 148 advised to test for non-zero, rather then a specific value. 153 Writing test file is very easy if you are used to PHP. [all …]
|
H A D | UPGRADING.INTERNALS | 10 e. tsrm_virtual_cwd.h moved to zend_virtual_cwd.h 47 The second handler is used to perform comparison operations with 63 RETVAL_ZVAL_FAST(zv); /* analog to RETVAL_ZVAL(zv, 1, 0) */ 64 RETURN_ZVAL_FAST(zv); /* analog to RETURN_ZVAL(zv, 1, 0) */ 76 The recommended way to access raw POST data is to open and use a php://input 93 The following changes were applied to the zend_arg_info struct: 120 e. tsrm_virtual_cwd.h moved to zend_virtual_cwd.h 192 objects using Serializable to disallow serialization. An object 195 implementing Serializable to disable serialization using 218 variable. Previously `bison` was assumed to be in $PATH. [all …]
|
/PHP-5.6/tests/output/ |
H A D | ob_start_basic_unerasable_005.phpt | 13 echo "Attempt to flush unerasable buffer - should fail... "; 19 [callback:1]Attempt to flush unerasable buffer - should fail... 20 Notice: ob_flush(): failed to flush buffer of callback (0) in %s on line 11 22 string(%d) "Attempt to flush unerasable buffer - should fail... 23 Notice: ob_flush(): failed to flush buffer of callback (0) in %s on line 11
|
/PHP-5.6/ext/spl/tests/ |
H A D | SplObjectStorage_addAll_invalid_parameter.phpt | 26 Warning: SplObjectStorage::addAll() expects parameter 1 to be SplObjectStorage, array given in %s o… 29 Warning: SplObjectStorage::addAll() expects parameter 1 to be SplObjectStorage, boolean given in %s… 32 Warning: SplObjectStorage::addAll() expects parameter 1 to be SplObjectStorage, %unicode_string_opt… 35 Warning: SplObjectStorage::addAll() expects parameter 1 to be SplObjectStorage, integer given in %s… 38 Warning: SplObjectStorage::addAll() expects parameter 1 to be SplObjectStorage, double given in %s … 41 Warning: SplObjectStorage::addAll() expects parameter 1 to be SplObjectStorage, null given in %s on…
|
H A D | SplObjectStorage_contains_invalid_parameter.phpt | 26 Warning: SplObjectStorage::contains() expects parameter 1 to be object, array given in %s on line %d 29 Warning: SplObjectStorage::contains() expects parameter 1 to be object, boolean given in %s on line… 32 Warning: SplObjectStorage::contains() expects parameter 1 to be object, %unicode_string_optional% g… 35 Warning: SplObjectStorage::contains() expects parameter 1 to be object, integer given in %s on line… 38 Warning: SplObjectStorage::contains() expects parameter 1 to be object, double given in %s on line … 41 Warning: SplObjectStorage::contains() expects parameter 1 to be object, null given in %s on line %d
|
H A D | SplObjectStorage_detach_invalid_parameter.phpt | 26 Warning: SplObjectStorage::detach() expects parameter 1 to be object, array given in %s on line %d 29 Warning: SplObjectStorage::detach() expects parameter 1 to be object, boolean given in %s on line %d 32 Warning: SplObjectStorage::detach() expects parameter 1 to be object, %unicode_string_optional% giv… 35 Warning: SplObjectStorage::detach() expects parameter 1 to be object, integer given in %s on line %d 38 Warning: SplObjectStorage::detach() expects parameter 1 to be object, double given in %s on line %d 41 Warning: SplObjectStorage::detach() expects parameter 1 to be object, null given in %s on line %d
|
H A D | SplObjectStorage_removeAll_invalid_parameter.phpt | 26 Warning: SplObjectStorage::removeAll() expects parameter 1 to be SplObjectStorage, array given in %… 29 Warning: SplObjectStorage::removeAll() expects parameter 1 to be SplObjectStorage, boolean given in… 32 Warning: SplObjectStorage::removeAll() expects parameter 1 to be SplObjectStorage, %unicode_string_… 35 Warning: SplObjectStorage::removeAll() expects parameter 1 to be SplObjectStorage, integer given in… 38 Warning: SplObjectStorage::removeAll() expects parameter 1 to be SplObjectStorage, double given in … 41 Warning: SplObjectStorage::removeAll() expects parameter 1 to be SplObjectStorage, null given in %s…
|
/PHP-5.6/ext/zlib/tests/ |
H A D | gzseek_basic.phpt | 14 echo "move to the 50th byte\n"; 20 echo "\nmove forward to the 100th byte\n"; 26 echo "\nmove backward to the 20th byte\n"; 35 move to the 50th byte 40 move forward to the 100th byte 45 move backward to the 20th byte
|
H A D | gzseek_variation2.phpt | 14 echo "move to the 50th byte\n"; 20 echo "\nmove forward to the 100th byte\n"; 26 echo "\nmove backward to the 20th byte\n"; 35 move to the 50th byte 40 move forward to the 100th byte 45 move backward to the 20th byte
|
H A D | gzseek_variation3.phpt | 14 echo "move to the 50th byte\n"; 20 echo "\nmove forward to the 94th byte\n"; 26 echo "\nmove backward to the 77th byte\n"; 35 move to the 50th byte 40 move forward to the 94th byte 46 move backward to the 77th byte
|
/PHP-5.6/ext/gmp/tests/ |
H A D | gmp_hamdist.phpt | 39 Warning: gmp_hamdist(): Unable to convert variable to GMP - wrong type in %s on line %d 42 Warning: gmp_hamdist(): Unable to convert variable to GMP - wrong type in %s on line %d 45 Warning: gmp_hamdist(): Unable to convert variable to GMP - wrong type in %s on line %d
|
/PHP-5.6/ext/standard/tests/network/ |
H A D | tcp6loop.phpt | 6 …If IPv6 is NOT supported, $errno will be set to something else (indicating parse/getaddrinfo error… 7 …Note: Might be a good idea to export an IPv6 support indicator (such as AF_INET6 exported by ext/s… 24 die('Unable to create AF_INET6 socket [server]'); 27 /* Connect to it */ 30 die('Unable to create AF_INET6 socket [client]'); 36 die('Unable to accept connection');
|
/PHP-5.6/ext/spl/internal/ |
H A D | recursivefilteriterator.inc | 13 * @brief Iterator to filter recursive iterators 18 * Passes the RecursiveIterator interface to the inner Iterator and provides 19 * the same functionality as FilterIterator. This allows you to skip parents 20 * and all their childs before loading them all. You need to care about 22 * builtin behavior uses reflection to return a new instance of the exact same 26 * implementation to the new instance. To overcome this problem you might 27 * need to overwrite getChildren(), call this implementation and pass the 32 /** @param $it the RecursiveIterator to filter
|
/PHP-5.6/ext/calendar/tests/ |
H A D | unixtojd.phpt | 13 // -adding a call direct to GetEnvironmentVariableA just before tzset() is called to check the… 14 // putting a call to date_default_timezone_set() here doesn't help 16 // on Windows, the only thing that gets this test to pass is to put TZ=UTC in --ENV-- section 17 // -since putenv() is written to call tzset() when env var is TZ, I assume that putenv("TZ=UTC") … 30 // -this incorrect localtime is passed to the julian date conversion (GregorianToSDN) function whi…
|
/PHP-5.6/ext/standard/tests/dir/ |
H A D | scandir_variation2.phpt | 11 * Pass different data types as $sorting_order argument to test how scandir() behaves 40 // unexpected values to be passed to $sorting_order argument 89 // loop through each element of $inputs to check the behavior of scandir() 230 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d 235 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d 240 Warning: scandir() expects parameter 2 to be long, array given in %s on line %d 245 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d 250 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d 255 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d 260 Warning: scandir() expects parameter 2 to be long, object given in %s on line %d [all …]
|
/PHP-5.6/ext/xml/tests/ |
H A D | xml_error_string_variation1.phpt | 14 * Alias to functions: 32 //array of values to iterate over 106 Warning: xml_error_string() expects parameter 1 to be long, array given in %s on line %d 111 Warning: xml_error_string() expects parameter 1 to be long, array given in %s on line %d 116 Warning: xml_error_string() expects parameter 1 to be long, array given in %s on line %d 121 Warning: xml_error_string() expects parameter 1 to be long, array given in %s on line %d 126 Warning: xml_error_string() expects parameter 1 to be long, array given in %s on line %d 149 Warning: xml_error_string() expects parameter 1 to be long, string given in %s on line %d 154 Warning: xml_error_string() expects parameter 1 to be long, string given in %s on line %d 159 Warning: xml_error_string() expects parameter 1 to be long, string given in %s on line %d [all …]
|