/php-src/ext/date/tests/ |
H A D | bug32588.phpt | 8 echo date('D Y/m/d/H:i:s', strtotime('last saturday', 1112703348)). "\n"; 9 echo date('D Y/m/d/H:i:s', strtotime("last sunday", 1112703348)). "\n"; 10 echo date('D Y/m/d/H:i:s', strtotime('last monday', 1112703348)). "\n";
|
H A D | bug77571.phpt | 8 $date3 = DateTime::createFromFormat('Y-m-d H:i:s', '2019-04-01 00:00:00'); // 2019-04-01 00:00:00.… 11 $differenceDateInterval2 = $date3->diff($date4); // interval: + 1m 4d; days 35 18 [m] => 1
|
H A D | bug26317.phpt | 13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 16:20:42 Z")); 14 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 09:20:42 T")); 15 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 19:20:42 C"));
|
H A D | DatePeriod_IteratorAggregate.phpt | 8 echo "$i: ", $date->format('Y-m-d'), "\n"; 13 echo "$i: ", $date->format('Y-m-d'), "\n"; 21 echo "$i: ", $date->format('Y-m-d'), "\n"; 29 echo "$i: ", $date->format('Y-m-d'), "\n"; 34 echo "$i: ", $date->format('Y-m-d'), "\n"; 44 echo "$i: ", $date->format('Y-m-d'), "\n";
|
H A D | bug52342.phpt | 10 echo $from->format('d.m.Y H:i'), "\n"; //A 12 echo date('d.m.Y H:i', $from->getTimestamp()), "\n"; //C 16 echo date('d.m.Y H:i', $from->getTimestamp()), "\n"; //C
|
H A D | DateInterval_serialize-002.phpt | 30 'm' => 3, 51 ["m"]=> 73 string(172) "O:12:"DateInterval":10:{s:1:"y";i:43;s:1:"m";i:3;s:1:"d";i:24;s:1:"h";i:1;s:1:"i";i:12… 80 ["m"]=> 105 ["m"]=> 130 ["m"]=>
|
H A D | 012.phpt | 9 var_dump($dto->format("Y/m/d H:i:s")); 11 var_dump($dto->format("Y/m/d H:i:s")); 13 var_dump($dto->format("Y/m/d H:i:s"));
|
H A D | 013.phpt | 9 var_dump($dto->format("Y.m.d H:i:s")); 11 var_dump($dto->format("Y.m.d H:i:s")); 13 var_dump($dto->format("Y.m.d H:i:s"));
|
H A D | bug71826.phpt | 10 var_dump($a->m, $a->d); 14 var_dump($b->m, $b->d); 18 var_dump($c->m, $c->d);
|
/php-src/ext/ftp/tests/ |
H A D | server.inc | 110 $user = $m[1]; 127 $pass = $m[1]; 190 $host = "$m[1].$m[2].$m[3].$m[4]"; 191 $port = ((int)$m[5] << 8) + (int)$m[6]; 259 change_dir($m[1]); 265 if (isset($m[1]) && (($m[1] === 'bogusdir') || ($m[1] === '/bogusdir'))) { 271 if (isset($bug39458) && isset($m[1]) && $m[1] === 'emptydir') { 292 if (empty($m[1]) || $m[1] !== 'emptydir') { 493 if(isset($m[1]) && (($m[1] === 'bogusdir') || ($m[1] === '/bogusdir'))) { 499 if(isset($bug39458) && isset($m[1]) && $m[1] === 'emptydir') { [all …]
|
/php-src/ext/openssl/tests/ |
H A D | check_default_conf_path.phpt | 21 preg_match(",Openssl default config [^ ]* (.*),", $info, $m); 23 if (isset($m[1])) { 24 var_dump(str_replace('/', '\\', strtolower($m[1])));
|
/php-src/ext/spl/tests/SplObjectStorage/ |
H A D | SplObjectStorage_unserialize_bad.phpt | 7 'x:i:2;i:0;,i:1;;i:0;,i:2;;m:a:0:{}', 8 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};R:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}', 9 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};r:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}', 10 'x:i:1;O:8:"stdClass":0:{},N;;m:s:40:"1234567890123456789012345678901234567890"',
|
/php-src/Zend/tests/in-de-crement/ |
H A D | incdec_strings_exception.phpt | 6 set_error_handler(function($severity, $m) { 8 $m = 'Deprecated: ' . $m; 11 $m = 'Warning: ' . $m; 13 throw new Exception($m, $severity);
|
/php-src/ext/calendar/tests/ |
H A D | easter_date_32bit.phpt | 14 echo date("Y-m-d", easter_date(2000))."\n"; 15 echo date("Y-m-d", easter_date(2001))."\n"; 16 echo date("Y-m-d", easter_date(2002))."\n";
|
/php-src/ext/phar/tests/ |
H A D | gh12532.phpt | 13 echo date('Y-m-d H:i:s', $phar->getMTime()), "\n"; 14 echo date('Y-m-d H:i:s', $phar->getCTime()), "\n"; 15 echo date('Y-m-d H:i:s', $phar->getATime()), "\n";
|
/php-src/ext/opcache/tests/ |
H A D | preload_error_handler.inc | 3 set_error_handler(function($_, $m) { 5 var_dump($m);
|
/php-src/ext/standard/ |
H A D | pack.c | 139 } m; in php_pack_copy_float() local 144 m.i = php_pack_reverse_int32(m.i); in php_pack_copy_float() 148 m.i = php_pack_reverse_int32(m.i); in php_pack_copy_float() 162 } m; in php_pack_copy_double() local 167 m.i = php_pack_reverse_int64(m.i); in php_pack_copy_double() 171 m.i = php_pack_reverse_int64(m.i); in php_pack_copy_double() 185 } m; in php_pack_parse_float() local 190 m.i = php_pack_reverse_int32(m.i); in php_pack_parse_float() 194 m.i = php_pack_reverse_int32(m.i); in php_pack_parse_float() 213 m.i = php_pack_reverse_int64(m.i); in php_pack_parse_double() [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug69864.phpt | 13 var_dump(preg_replace_callback('/a/', function($m) { 19 var_dump(preg_replace_callback('/a/', function($m) { 25 var_dump(preg_replace_callback('/a/', function($m) { 31 var_dump(preg_replace_callback('/a/', function($m) {
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 102 …[^,;]+)?((?:\s*,\s*\**\s*\w+(?:\[\s*\w*\s*\])?\s*(?:=[^,;]+)?)*)\s*;/S', $txt, $m, PREG_SET_ORDER); 104 foreach ($m as $x) { 153 …preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', $str, $m, PREG_… 155 foreach ($m as $x) { 198 foreach ($matches as $m) { 200 update_lineno($offset + $m[2][1]); 202 $vars = get_vars(substr($txt, 0, $m[0][1])); // limit var search to current location 203 $params = get_params($vars, $m[2][0]); 208 $spec = $m[1][0];
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 134 info->m->reset(info); in MYSQLND_METHOD() 154 info->m->reset(info); in mysqlnd_error_info_init() 168 info->m->reset(info); in mysqlnd_error_info_free_contents() 319 conn->m->free_contents(conn); in MYSQLND_METHOD_PRIVATE() 320 conn->m->free_options(conn); in MYSQLND_METHOD_PRIVATE() 588 conn->m->send_close(conn); 591 conn->m->free_contents(conn); 742 conn->m->free_contents(conn); 1138 conn->m->dtor(conn); 1321 conn->m->send_close(conn); [all …]
|
H A D | mysqlnd_ps.c | 202 result->m.free_result(result, TRUE); in MYSQLND_METHOD() 242 s->m->free_stmt_result(s); in MYSQLND_METHOD() 594 s->m->free_stmt_content(s); in mysqlnd_stmt_execute_parse_response() 649 s->m->flush(s); in MYSQLND_METHOD() 743 result->m.use_result(stmt->result, stmt); in MYSQLND_METHOD() 930 s->m->flush(s); in MYSQLND_METHOD() 1273 s->m->free_result_bind(s, result_bind); in MYSQLND_METHOD() 1306 s->m->free_result_bind(s, result_bind); in MYSQLND_METHOD() 1744 s->m->free_stmt_result(s); in MYSQLND_METHOD() 1823 s->m->free_stmt_content(s); in MYSQLND_METHOD_PRIVATE() [all …]
|
/php-src/ext/reflection/tests/ |
H A D | bug79062.phpt | 10 I'm a string :( 14 I'm a string :) 17 private $s3 = 'I\'m a string :)';
|
/php-src/ext/simplexml/tests/ |
H A D | 031.phpt | 29 $d->addChild('m:test', 'myval', 'urn::test'); 33 $sxe->addChild('m:test1', 'myval', 'urn::test'); 36 $n = $sxe->addChild('m:test2', 'myval', 'urn::testnew'); 55 <s:test1>myval</s:test1><m:test2 xmlns:m="urn::testnew">myval</m:test2><test3 xmlns="urn::testnew">…
|
/php-src/ext/date/lib/ |
H A D | timelib_private.h | 109 #define TIMELIB_TIME_FREE(m) \ argument 110 if (m) { \ 111 timelib_free(m); \ 112 m = NULL; \
|
/php-src/ext/intl/tests/ |
H A D | msgfmt_format.phpt | 25 $m = 4560; 36 $str_res .= dump( ut_msgfmt_format( $fmt, array($m, $t, $m/$t) ) ) . "\n"; 37 $str_res .= dump( ut_msgfmt_format_message($locale, $pattern, array($m, $t, $m/$t))) . "\n";
|