Home
last modified time | relevance | path

Searched refs:m (Results 51 – 75 of 595) sorted by relevance

12345678910>>...24

/php-src/ext/date/tests/
H A Dbug30532.phpt8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n";
9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n";
10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n";
14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n";
15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n";
16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
H A DDatePeriod_no_advance_on_valid.phpt6 $start = DateTime::createFromFormat('Y-m-d', '2022-01-01');
7 $end = DateTime::createFromFormat('Y-m-d', '2022-01-04');
13 echo $item->format('Y-m-d') . "\n";
20 echo $item->format('Y-m-d') . "\n";
29 echo $item->format('Y-m-d') . "\n";
36 echo $item->format('Y-m-d') . "\n";
H A Dbug80610.phpt5 $expectEaster = date_create_from_format('Y-m-d H:i:s', '2020-04-12 12:00:00', new DateTimeZone('Eur…
9 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n" );
11 $expectEaster = date_create_from_format('Y-m-d H:i:s', '2020-04-12 12:00:00', new DateTimeZone('Eur…
15 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n");
17 $expectEaster = date_create_from_format('Y-m-d H:i:s', '2020-04-12 12:00:00', new DateTimeZone('Eur…
21 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n");
H A Dbug33414-2.phpt8 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
10 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
16 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
24 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
32 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
40 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
48 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
56 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
64 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
H A Ddate_period-immutable.phpt14 echo $dt->format( "l Y-m-d\n" );
15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
16 echo $dt->format( "l Y-m-d\n\n" );
22 echo $dt->format( "l Y-m-d\n" );
23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
24 echo $dt->format( "l Y-m-d\n\n" );
H A Ddate_basic1.phpt13 var_dump( date("m.d.y", $timestamp) );
16 var_dump( date('h-i-s, j-m-y, it is w Day', $timestamp) );
19 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) );
32 string(19) "10:02:30 m is month"
H A Ddate_format_basic1.phpt12 var_dump( date_format($date, "m.d.y") );
15 var_dump( date_format($date, 'h-i-s, j-m-y, it is w Day') );
18 var_dump( date_format($date, 'H:m:s \m \i\s\ \m\o\n\t\h') );
31 string(19) "22:07:41 m is month"
/php-src/ext/pcre/tests/
H A Dpreg_match_non_capture.phpt6 preg_match('/.(.)./n', 'abc', $m);
7 var_dump($m);
9 preg_match('/.(?P<test>.)./n', 'abc', $m);
10 var_dump($m);
/php-src/ext/phar/tests/
H A Dphar_createdefaultstub.phpt153 $m = '';
161 $m .= $last;
252 $m = substr($m, 14 + $l[1]);
264 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
447 $m = '';
455 $m .= $last;
546 $m = substr($m, 14 + $l[1]);
558 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
749 $m = '';
757 $m .= $last;
[all …]
H A Dphar_setdefaultstub.phpt173 $m = '';
181 $m .= $last;
272 $m = substr($m, 14 + $l[1]);
284 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
468 $m = '';
476 $m .= $last;
567 $m = substr($m, 14 + $l[1]);
579 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
763 $m = '';
771 $m .= $last;
[all …]
/php-src/Zend/tests/weakrefs/
H A Dgh10043-011.phpt9 $m = new WeakMap();
13 $m[$k] = $v;
15 $m2 = $m;
20 var_dump($m);
/php-src/ext/standard/tests/general_functions/
H A Dghsa-9fcc-425m-g385_001.phpt2 GHSA-9fcc-425m-g385 - bypass CVE-2024-1874 - batch file variation
20 $batch_file_path = __DIR__ . '/ghsa-9fcc-425m-g385_001.bat';
42 '"%sghsa-9fcc-425m-g385_001.bat."' is not recognized as an internal or external command,
44 %sghsa-9fcc-425m-g385_001.bat
46 %sghsa-9fcc-425m-g385_001.bat.
48 %sghsa-9fcc-425m-g385_001.bat. ...
50 %sghsa-9fcc-425m-g385_001.bat. ... .
52 '"%sghsa-9fcc-425m-g385_001.bat. ... . ."' is not recognized as an internal or external command,
58 @unlink(__DIR__ . '/ghsa-9fcc-425m-g385_001.bat');
/php-src/ext/phar/tests/files/
H A Dopenssl.phar118 $m = '';
123 $read = $L[1] - strlen($m);
126 $m .= $last;
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
135 $info = self::_unpack($m);
213 static function _unpack($m)
217 $m = substr($m, 14 + $l[1]);
229 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
231 $ret['m'][$savepath][7] = $o;
[all …]
H A Dopenssl256.phar118 $m = '';
123 $read = $L[1] - strlen($m);
126 $m .= $last;
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
135 $info = self::_unpack($m);
213 static function _unpack($m)
217 $m = substr($m, 14 + $l[1]);
229 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
231 $ret['m'][$savepath][7] = $o;
[all …]
H A Dopenssl512.phar118 $m = '';
123 $read = $L[1] - strlen($m);
126 $m .= $last;
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
135 $info = self::_unpack($m);
213 static function _unpack($m)
217 $m = substr($m, 14 + $l[1]);
229 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
231 $ret['m'][$savepath][7] = $o;
[all …]
H A Dinclude_path2.phar118 $m = '';
123 $read = $L[1] - strlen($m);
126 $m .= $last;
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
135 $info = self::_unpack($m);
213 static function _unpack($m)
217 $m = substr($m, 14 + $l[1]);
229 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
231 $ret['m'][$savepath][7] = $o;
[all …]
H A Dnophar.phar118 $m = '';
123 $read = $L[1] - strlen($m);
126 $m .= $last;
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
135 $info = self::_unpack($m);
213 static function _unpack($m)
217 $m = substr($m, 14 + $l[1]);
229 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
231 $ret['m'][$savepath][7] = $o;
[all …]
/php-src/ext/phar/tests/cache_list/files/
H A Dnophar.phar118 $m = '';
123 $read = $L[1] - strlen($m);
126 $m .= $last;
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
135 $info = self::_unpack($m);
213 static function _unpack($m)
217 $m = substr($m, 14 + $l[1]);
229 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
231 $ret['m'][$savepath][7] = $o;
[all …]
H A Dopenssl.phar118 $m = '';
123 $read = $L[1] - strlen($m);
126 $m .= $last;
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
135 $info = self::_unpack($m);
213 static function _unpack($m)
217 $m = substr($m, 14 + $l[1]);
229 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
231 $ret['m'][$savepath][7] = $o;
[all …]
/php-src/ext/mysqlnd/
H A Dmysqlnd_driver.c121 new_object->m = mysqlnd_conn_get_methods(); in MYSQLND_METHOD()
134 data->m = mysqlnd_conn_data_get_methods(); in MYSQLND_METHOD()
139 data->m->get_reference(data); in MYSQLND_METHOD()
149 new_object->m->dtor(new_object); in MYSQLND_METHOD()
175 new_object->m = to_be_cloned->m; in MYSQLND_METHOD()
179 new_object->m->dtor(new_object); in MYSQLND_METHOD()
196 ret->m = mysqlnd_stmt_get_methods(); in MYSQLND_METHOD()
215 stmt->conn = conn->m->get_reference(conn); in MYSQLND_METHOD()
235 pfc->data->m = *mysqlnd_pfc_get_methods(); in MYSQLND_METHOD()
237 pfc->data->m.init(pfc, stats, error_info); in MYSQLND_METHOD()
[all …]
/php-src/Zend/tests/
H A Dbug71428.1.phpt6 public function m(?array $a = null) {}
9 public function m(array $a = []) {}
13 Fatal error: Declaration of B::m(array $a = []) must be compatible with A::m(?array $a = null) in %…
/php-src/ext/date/lib/
H A Dinterval.c50 ((*one)->y == (*two)->y && (*one)->m > (*two)->m) || in sort_old_to_new()
51 ((*one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d > (*two)->d) || in sort_old_to_new()
52 …((*one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d == (*two)->d && (*one)->h > (*two)-… in sort_old_to_new()
53 …((*one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d == (*two)->d && (*one)->h == (*two)… in sort_old_to_new()
89 rt->m = two->m - one->m; in timelib_diff_with_tzid()
160 rt->m = two->m - one->m; in timelib_diff()
224 t->relative.m = interval->m * bias; in timelib_add()
253 t->relative.m = 0 - (interval->m * bias); in timelib_sub()
304 t->relative.m = interval->m * bias; in timelib_add_wall()
307 if (t->relative.y || t->relative.m || t->relative.d) { in timelib_add_wall()
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_ereg_dupnames.phpt13 mb_ereg($pattern, '中?', $m);
14 var_dump($m);
15 mb_ereg($pattern, '中!', $m);
16 var_dump($m);
/php-src/ext/reflection/tests/
H A Dgh8982.phpt20 public function m()
37 $m = [new C(), 'm'](...);
42 test(F::class, $m);
43 test(M::class, $m);
H A D001.phpt13 foreach($this->getMethods() as $m)
15 $res[] = $m->class . '::' . $m->name;
62 foreach($exp as $m)
64 if (!in_array($m, $exp))
66 $miss[] = $m;

Completed in 33 milliseconds

12345678910>>...24