/PHP-7.4/Zend/tests/ |
H A D | bug29210.phpt | 22 echo "test_func1 isn't callable from inside\n"; 72 echo "test_func1 isn't callable from outside\n"; 77 echo "test_func2 isn't callable from outside\n"; 82 echo "test_func3 isn't callable from outside\n"; 87 echo "test_func4 isn't callable from outside\n"; 97 test_func1 isn't callable from outside 98 test_func2 isn't callable from outside 99 test_func3 isn't callable from outside 100 test_func4 isn't callable from outside 101 test_func1 isn't callable from child [all …]
|
H A D | gc_038.phpt | 12 echo "+=\t$n\n"; 21 echo "-=\t$n\n"; 30 echo "*=\t$n\n"; 39 echo "/=\t$n\n"; 48 echo "%=\t$n\n"; 57 echo "<<=\t$n\n"; 66 echo ">>=\t$n\n"; 75 echo "|=\t$n\n"; 84 echo "&=\t$n\n"; 93 echo "^=\t$n\n"; [all …]
|
H A D | xor_003.phpt | 6 $t = true; 9 var_dump($t ^ $f); 10 var_dump($t ^ $t);
|
H A D | bug72854.phpt | 7 $t = new stdClass; 8 $t->prop = $t; 9 return $t;
|
/PHP-7.4/ext/standard/ |
H A D | hrtime.c | 130 timebasestruct_t t; in _timer_current() 131 read_wall_time(&t, TIMEBASE_SZ); in _timer_current() 132 time_base_to_time(&t, TIMEBASE_SZ); in _timer_current() 133 return (php_hrtime_t) t.tb_high * (php_hrtime_t)NANO_IN_SEC + t.tb_low; in _timer_current() 140 #define PHP_RETURN_HRTIME(t) RETURN_LONG((zend_long)t) argument 151 #define PHP_RETURN_HRTIME(t) do { \ argument 154 HRTIME_U64A(t, _a, ZEND_LTOA_BUF_LEN); \ 170 php_hrtime_t t = _timer_current(); in PHP_FUNCTION() local 178 PHP_RETURN_HRTIME(t); in PHP_FUNCTION() 182 add_next_index_long(return_value, (zend_long)(t / (php_hrtime_t)NANO_IN_SEC)); in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | ucwords_variation3.phpt | 20 't e s t i n g u c w o r d s ', 25 '(t)', 26 ' ( t )t', 30 '"t""t",test, t', 31 '\'t \'t\',test', 41 't@@#$% %test ^test &test *test +test -test', 43 '/test/r\test\ucwords\t\y\y\u\3 \yy\ /uu/', 70 string(3) "(t)" 72 string(7) " ( T )t" 76 string(14) ""t""t",test, T" [all …]
|
H A D | ucwords_variation4.phpt | 20 "t e s t i n g u c w o r d s ", 25 "(t)", 26 " ( t )t", 30 "\"t\"\"t\",test, t", 31 "\'t \'t\',test", 33 "P't'y 't it's ", 77 string(3) "(t)" 79 string(7) " ( T )t" 83 string(14) ""t""t",test, T" 85 string(14) "\'t \'t\',test" [all …]
|
H A D | htmlspecialchars_decode_variation4.phpt | 19 …'Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string… 20 '\nRoy's height >\t; Sam's\v height\f', 21 '\r\tRoy's height >\r; Sam\t's height', 46 string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string … 47 string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string … 48 string(98) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v st… 49 string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string "" 51 string(48) "\nRoy's height >\t; Sam's\v height\f" 52 string(48) "\nRoy's height >\t; Sam's\v height\f" 54 string(38) "\nRoy's height >\t; Sam's\v height\f" [all …]
|
H A D | html_entity_decode3.phpt | 38 foreach ($tests as $t) { 40 if ($t == $dec) { 43 echo "$t\tDECODED\n"; 49 foreach ($tests as $t) { 51 if ($t == $dec) { 60 foreach ($tests as $t) { 62 if ($t == $dec) { 71 foreach ($tests as $t) { 73 if ($t == $dec) { 82 foreach ($tests as $t) { [all …]
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | bug77047.phpt | 17 t TIME WITHOUT TIME ZONE 20 pg_insert($db, "bug77047", array("t" => "13:31")); 21 pg_insert($db, "bug77047", array("t" => "13:31:13")); 22 pg_insert($db, "bug77047", array("t" => "1:2:3")); 23 pg_insert($db, "bug77047", array("t" => "xyz")); 24 pg_insert($db, "bug77047", array("t" => NULL)); 25 pg_insert($db, "bug77047", array("t" => "")); 27 $res = pg_query($db, "SELECT t FROM bug77047"); 34 Notice: pg_insert(): Expects NULL or string for PostgreSQL time field (t) in %s on line %d
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug45622b.phpt | 2 Ensure fix to bug45622 doesn't cause __isset() to be called when ArrayObject::ARRAY_AS_PROPS is use… 13 echo "Doesn't trigger __get.\n"; 16 echo "Doesn't trigger __set.\n"; 19 echo "Doesn't trigger __unset.\n"; 22 echo "Shouldn't trigger __isset.\n"; 26 Doesn't trigger __get. 29 Doesn't trigger __set. 30 Doesn't trigger __unset. 33 Shouldn't trigger __isset.
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | feature55218.phpt | 14 <person id="1" xmlns:t="http://example.org/t" > 15 <t:name>John Doe</t:name> 60 ["t"]=> 61 string(20) "http://example.org/t" 66 ["t"]=> 67 string(20) "http://example.org/t" 72 ["t"]=> 73 string(20) "http://example.org/t" 96 ["t"]=> 100 ["t"]=> [all …]
|
/PHP-7.4/ext/pdo_oci/tests/ |
H A D | pdo_oci_quote1.phpt | 48 ["t"]=> 57 ["t"]=> 66 ["t"]=> 75 ["t"]=> 84 ["t"]=> 93 ["t"]=> 104 ["t"]=> 114 ["t"]=> 123 ["t"]=> 132 ["t"]=> [all …]
|
/PHP-7.4/ext/enchant/tests/ |
H A D | bug13181.phpt | 29 $t = enchant_broker_request_dict($rBroker, 'en'); 30 var_dump($t); 31 return $t; 38 $t = enchant_broker_init(); 39 var_dump($t); 40 return $t; 47 $t = enchant_broker_request_dict($broker, 'en'); 48 var_dump($t); 49 return $t;
|
/PHP-7.4/ext/intl/tests/ |
H A D | transliterator_get_error_code_basic.phpt | 8 $t = Transliterator::create("[\p{Bidi_Mirrored}] Hex"); 9 var_dump($t->transliterate("\x8F")); 10 echo transliterator_get_error_code($t), "\n"; 12 echo $t->getErrorCode(), "\n"; 14 var_dump($t->transliterate("")); 15 echo $t->getErrorCode(), "\n";
|
H A D | transliterator_get_error_message_basic.phpt | 8 $t = Transliterator::create("[\p{Bidi_Mirrored}] Hex"); 9 var_dump($t->transliterate("\x8F")); 10 echo transliterator_get_error_message($t), "\n"; 12 echo $t->getErrorMessage(), "\n"; 14 var_dump($t->transliterate("")); 15 echo $t->getErrorMessage(), "\n";
|
H A D | transliterator_transliterate_basic.phpt | 7 $t = transliterator_create("Latin; Title"); 9 echo $t->transliterate($s),"\n"; 10 echo transliterator_transliterate($t, $s),"\n"; 11 echo $t->transliterate($s, 3),"\n"; 12 echo $t->transliterate($s, 3, 4),"\n";
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 232 t.year = t.month= 0; in ps_fetch_time() 235 t.hour += t.day*24; in ps_fetch_time() 241 memset(&t, 0, sizeof(t)); in ps_fetch_time() 258 …length = mnd_sprintf(&value, 0, "%s%02u:%02u:%02u", (t.neg ? "-" : ""), t.hour, t.minute, t.second… in ps_fetch_time() 282 t.neg = 0; in ps_fetch_date() 284 t.second_part = t.hour = t.minute = t.second = 0; in ps_fetch_date() 292 memset(&t, 0, sizeof(t)); in ps_fetch_date() 296 length = mnd_sprintf(&value, 0, "%04u-%02u-%02u", t.year, t.month, t.day); in ps_fetch_date() 330 t.hour = t.minute = t.second= 0; in ps_fetch_datetime() 336 memset(&t, 0, sizeof(t)); in ps_fetch_datetime() [all …]
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_075.phpt | 14 } catch(TypeError $t) { 15 var_dump($t->getMessage()); 22 } catch(TypeError $t) { 23 var_dump($t->getMessage()); 30 } catch(TypeError $t) { 31 var_dump($t->getMessage()); 38 } catch(TypeError $t) { 39 var_dump($t->getMessage());
|
H A D | typed_properties_038.phpt | 12 } catch(TypeError $t) { 13 var_dump($t->getMessage()); 20 } catch(TypeError $t) { 21 var_dump($t->getMessage()); 28 } catch(TypeError $t) { 29 var_dump($t->getMessage()); 36 } catch(TypeError $t) { 37 var_dump($t->getMessage());
|
/PHP-7.4/ext/date/tests/ |
H A D | 009.phpt | 11 $t = mktime(0,0,0, 6, 27, 2006); 16 …c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U %V %W %w %x %X %y %Y %Z %z %%", $… 17 var_dump(strftime("%%q %%a", $t)); 18 var_dump(strftime("%q", $t)); 19 var_dump(strftime("blah", $t)); 24 …c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U %V %W %w %x %X %y %Y %Z %z %%", $… 25 var_dump(gmstrftime("%%q %%a", $t)); 26 var_dump(gmstrftime("%q", $t)); 27 var_dump(gmstrftime("blah", $t));
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | 001.phpt | 7 class t 58 $t = new t(); 59 $data = serialize($t); 61 $t = unserialize($data); 62 var_dump($t); 64 $t = new s(); 65 $data = serialize($t); 67 $t = unserialize($data); 68 var_dump($t); 94 O:1:"t":1:{s:1:"a";s:5:"hallo";} [all …]
|
/PHP-7.4/ext/date/lib/ |
H A D | timelib.c | 60 timelib_time *t; in timelib_time_ctor() local 63 return t; in timelib_time_ctor() 69 TIMELIB_TIME_FREE(t); in timelib_time_dtor() 100 timelib_rel_time *t; in timelib_rel_time_ctor() local 103 return t; in timelib_rel_time_ctor() 108 TIMELIB_TIME_FREE(t); in timelib_rel_time_dtor() 132 timelib_time_offset *t; in timelib_time_offset_ctor() local 135 return t; in timelib_time_offset_ctor() 141 TIMELIB_TIME_FREE(t); in timelib_time_offset_dtor() 146 if (!t->sse_uptodate) { in timelib_get_tz_abbr_ptr() [all …]
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic-win.phpt | 25 $t = explode('\\', PHP_BINARY); 27 $bin = end($t); 31 $t = ''; 39 $t .= fread($p, 1024); 44 $t = explode(PHP_EOL, $t); 48 strpos($t[0], ' ProcessId' ), 49 strpos($t[0], ' Priority ') 52 foreach ($t as $n => $l) {
|
/PHP-7.4/ext/sockets/ |
H A D | sockaddr_conv.c | 118 struct sockaddr_in t = {0}; in php_set_inet46_addr() local 119 if (php_set_inet_addr(&t, string, php_sock)) { in php_set_inet46_addr() 120 memcpy(ss, &t, sizeof t); in php_set_inet46_addr() 122 *ss_len = sizeof(t); in php_set_inet46_addr() 128 struct sockaddr_in6 t = {0}; in php_set_inet46_addr() local 129 if (php_set_inet6_addr(&t, string, php_sock)) { in php_set_inet46_addr() 130 memcpy(ss, &t, sizeof t); in php_set_inet46_addr() 132 *ss_len = sizeof(t); in php_set_inet46_addr()
|