/php-src/ext/standard/tests/strings/ |
H A D | ucwords_variation4.phpt | 15 "t e s t i n g u c w o r d s ", 20 "(t)", 21 " ( t )t", 25 "\"t\"\"t\",test, t", 26 "\'t \'t\',test", 28 "P't'y 't it's ", 72 string(3) "(t)" 74 string(7) " ( T )t" 78 string(14) ""t""t",test, T" 80 string(14) "\'t \'t\',test" [all …]
|
H A D | htmlspecialchars_decode_variation4.phpt | 14 …'Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string… 15 '\nRoy's height >\t; Sam's\v height\f', 16 '\r\tRoy's height >\r; Sam\t's height', 41 string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string "" 42 string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string … 43 string(98) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v st… 44 string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string "" 46 string(38) "\nRoy's height >\t; Sam's\v height\f" 49 string(38) "\nRoy's height >\t; Sam's\v height\f" 51 string(38) "\r\tRoy's height >\r; Sam\t's height" [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-src/Zend/tests/ |
H A D | bug70805_2.phpt | 30 $t = []; 31 $t[] = &$t; 32 unset($t); 34 $t = [new C]; 35 $t[] = &$t; 36 unset($t);
|
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 | bug70805_1.phpt | 35 $t = []; 36 $t[] = &$t; 37 unset($t); 39 $t = [new C]; 40 $t[] = &$t; 41 unset($t);
|
/php-src/Zend/ |
H A D | zend_type_info.h | 68 #define MAY_BE_PACKED(t) ((t) & MAY_BE_ARRAY_PACKED) argument 69 #define MAY_BE_HASH(t) ((t) & (MAY_BE_ARRAY_NUMERIC_HASH | MAY_BE_ARRAY_KEY_STRING)) argument 70 #define MAY_BE_PACKED_ONLY(t) (((t) & MAY_BE_ARRAY_KEY_ANY) == MAY_BE_ARRAY_PACKED) argument 71 #define MAY_BE_HASH_ONLY(t) (MAY_BE_HASH(t) && !((t) & (MAY_BE_ARRAY_PACKED|MAY_BE_ARRAY_EM… argument 72 #define MAY_BE_EMPTY_ONLY(t) (((t) & MAY_BE_ARRAY_KEY_ANY) == MAY_BE_ARRAY_EMPTY) argument
|
/php-src/ext/standard/tests/serialize/ |
H A D | bug14293.phpt | 5 class t 21 $t = new t(); 22 $data = serialize($t); 24 $t = unserialize($data); 25 var_dump($t); 32 O:1:"t":1:{s:1:"a";s:5:"hello";} 33 object(t)#%d (1) {
|
/php-src/ext/standard/ |
H A D | hrtime.c | 22 #define PHP_RETURN_HRTIME(t) RETURN_LONG((zend_long)t) argument 33 #define PHP_RETURN_HRTIME(t) do { \ argument 36 HRTIME_U64A(t, _a, ZEND_LTOA_BUF_LEN); \ 51 zend_hrtime_t t = zend_hrtime(); in PHP_FUNCTION() local 59 PHP_RETURN_HRTIME(t); in PHP_FUNCTION() 63 add_next_index_long(return_value, (zend_long)(t / (zend_hrtime_t)ZEND_NANO_IN_SEC)); in PHP_FUNCTION() 64 add_next_index_long(return_value, (zend_long)(t % (zend_hrtime_t)ZEND_NANO_IN_SEC)); in PHP_FUNCTION()
|
/php-src/Zend/tests/traits/ |
H A D | trait_constant_002.phpt | 17 $t = __TRAIT__; 18 var_dump($t); 19 $t = MyClass::test(); 20 var_dump($t); 21 $t = someFun(); 22 var_dump($t);
|
/php-src/ext/enchant/tests/ |
H A D | bug13181.phpt | 26 $t = enchant_broker_request_dict($rBroker, 'en'); 27 var_dump($t); 28 return $t; 35 $t = enchant_broker_init(); 36 var_dump($t); 37 return $t; 44 $t = enchant_broker_request_dict($broker, 'en'); 45 var_dump($t); 46 return $t;
|
/php-src/scripts/gdb/ |
H A D | php_gdb.py | 84 def format_type(self, t): argument 85 type_mask = int(t['type_mask']) 224 t = int(self.val['u1']['v']['type']) 225 if t == type_name_to_bit['undef']: 227 elif t == type_name_to_bit['null']: 229 elif t == type_name_to_bit['false']: 231 elif t == type_name_to_bit['true']: 233 elif t == type_name_to_bit['long']: 235 elif t == type_name_to_bit['double']: 237 elif t == type_name_to_bit['string']: [all …]
|
/php-src/ext/simplexml/tests/ |
H A D | feature55218.phpt | 11 <person id="1" xmlns:t="http://example.org/t" > 12 <t:name>John Doe</t:name> 56 ["t"]=> 57 string(20) "http://example.org/t" 62 ["t"]=> 63 string(20) "http://example.org/t" 68 ["t"]=> 69 string(20) "http://example.org/t" 92 ["t"]=> 96 ["t"]=> [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 227 t.year = t.month= 0; in ps_fetch_time() 230 t.hour += t.day*24; in ps_fetch_time() 236 memset(&t, 0, sizeof(t)); in ps_fetch_time() 242 (t.neg ? "-" : ""), t.hour, t.minute, t.second, field->decimals, in ps_fetch_time() 246 (t.neg ? "-" : ""), t.hour, t.minute, t.second)); in ps_fetch_time() 267 t.second_part = t.hour = t.minute = t.second = 0; in ps_fetch_date() 275 memset(&t, 0, sizeof(t)); in ps_fetch_date() 308 t.hour = t.minute = t.second= 0; in ps_fetch_datetime() 314 memset(&t, 0, sizeof(t)); in ps_fetch_datetime() 320 t.year, t.month, t.day, t.hour, t.minute, t.second, field->decimals, in ps_fetch_datetime() [all …]
|
/php-src/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. 31 Shouldn't trigger __isset.
|
/php-src/ext/pgsql/tests/ |
H A D | bug77047.phpt | 19 t TIME WITHOUT TIME ZONE 23 pg_insert($db, $table_name, array("t" => "13:31")); 27 pg_insert($db, $table_name, array("t" => "13:31:13")); 28 pg_insert($db, $table_name, array("t" => "1:2:3")); 30 pg_insert($db, $table_name, array("t" => "xyz")); 34 pg_insert($db, $table_name, array("t" => NULL)); 35 pg_insert($db, $table_name, array("t" => "")); 37 $res = pg_query($db, "SELECT t FROM {$table_name}"); 52 pg_insert(): Field "t" must be of type string|null, time given
|
/php-src/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";
|
/php-src/ext/random/ |
H A D | engine_combinedlcg.c | 76 zval t; in serialize() local 79 ZVAL_STR(&t, php_random_bin2hex_le(&s->state[i], sizeof(uint32_t))); in serialize() 80 zend_hash_next_index_insert(data, &t); in serialize() 89 zval *t; in unserialize() local 92 t = zend_hash_index_find(data, i); in unserialize() 93 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint32_t))) { in unserialize() 96 if (!php_random_hex2bin_le(Z_STR_P(t), &s->state[i])) { in unserialize()
|
/php-src/ext/mbstring/tests/ |
H A D | mb_trim.phpt | 13 var_dump('ABC' === mb_trim(" \0\t\nABC \0\t\n")); 14 var_dump("ABC \0\t\n" === mb_ltrim(" \0\t\nABC \0\t\n")); 15 var_dump(" \0\t\nABC" === mb_rtrim(" \0\t\nABC \0\t\n")); 16 var_dump(" \0\t\nABC \0\t\n" === mb_trim(" \0\t\nABC \0\t\n",'')); 17 var_dump(" \0\t\nABC \0\t\n" === mb_ltrim(" \0\t\nABC \0\t\n",'')); 18 var_dump(" \0\t\nABC \0\t\n" === mb_rtrim(" \0\t\nABC \0\t\n",''));
|
/php-src/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());
|
/php-src/ext/standard/tests/math/ |
H A D | round_modes_zeros.phpt | 22 echo "\t\t 0 => " . round(0, $precision, $mode) . "\n"; 23 echo "\t\t -0 => " . round(-0, $precision, $mode) . "\n"; 24 echo "\t\t 0.0 => " . round(0.0, $precision, $mode) . "\n"; 25 echo "\t\t -0.0 => " . round(-0.0, $precision, $mode) . "\n";
|
/php-src/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic-win.phpt | 21 $t = explode('\\', PHP_BINARY); 23 $bin = end($t); 27 $t = ''; 35 $t .= fread($p, 1024); 40 $t = explode(PHP_EOL, $t); 44 strpos($t[0], ' ProcessId' ), 45 strpos($t[0], ' Priority ') 48 foreach ($t as $n => $l) {
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_UTF16BE_BOM.phpt | 27 %0<%0!%0D%0O%0C%0T%0Y%0P%0E%0 %0h%0t%0m%0l%0>%0<%0h%0t%0m%0l%0>%0<%0h%0e%0a%0d%0>%0 28 %0<%0!%0-%0-%0 %0i%0n%0t%0e%0n%0t%0i%0o%0n%0a%0l%0 %0l%0i%0e%0s%0 %0a%0n%0d%0 %0d%0e%0c%0e%0i%0t%0 … 29 %0<%0m%0e%0t%0a%0 %0c%0h%0a%0r%0s%0e%0t%0=%0"%0u%0t%0f%0-%08%0"%0>%0 31 %0<%0b%0o%0d%0y%0>%0�%0<%0/%0b%0o%0d%0y%0>%0<%0/%0h%0t%0m%0l%0>
|
H A D | HTMLDocument_UTF16LE_BOM.phpt | 27 <%0!%0D%0O%0C%0T%0Y%0P%0E%0 %0h%0t%0m%0l%0>%0<%0h%0t%0m%0l%0>%0<%0h%0e%0a%0d%0>%0 28 %0<%0!%0-%0-%0 %0i%0n%0t%0e%0n%0t%0i%0o%0n%0a%0l%0 %0l%0i%0e%0s%0 %0a%0n%0d%0 %0d%0e%0c%0e%0i%0t%0 … 29 %0<%0m%0e%0t%0a%0 %0c%0h%0a%0r%0s%0e%0t%0=%0"%0u%0t%0f%0-%08%0"%0>%0 31 %0<%0b%0o%0d%0y%0>%0�%0<%0/%0b%0o%0d%0y%0>%0<%0/%0h%0t%0m%0l%0>%0
|
/php-src/ext/standard/tests/array/ |
H A D | array_rand_variation6.phpt | 68 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 71 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 76 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 78 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 80 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 86 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 88 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 90 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 92 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 94 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" [all …]
|