/PHP-8.3/ext/date/lib/ |
H A D | interval.c | 36 rt->invert = 1; in swap_times() 102 rt->i = (flipped - rt->h * SECS_PER_HOUR) / 60; in timelib_diff_with_tzid() 105 rt->invert = 1 - rt->invert; in timelib_diff_with_tzid() 108 timelib_do_rel_normalize(rt->invert ? one : two, rt); in timelib_diff_with_tzid() 137 rt->d--; in timelib_diff_with_tzid() 138 rt->h = 24; in timelib_diff_with_tzid() 143 return rt; in timelib_diff_with_tzid() 164 rt->h = rt->h + one->dst; in timelib_diff() 167 rt->h = rt->h - two->dst; in timelib_diff() 175 timelib_do_rel_normalize(rt->invert ? one : two, rt); in timelib_diff() [all …]
|
H A D | tm2unixtime.c | 188 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize() argument 190 do_range_limit(0, 1000000, 1000000, &rt->us, &rt->s); in timelib_do_rel_normalize() 191 do_range_limit(0, 60, 60, &rt->s, &rt->i); in timelib_do_rel_normalize() 192 do_range_limit(0, 60, 60, &rt->i, &rt->h); in timelib_do_rel_normalize() 193 do_range_limit(0, 24, 24, &rt->h, &rt->d); in timelib_do_rel_normalize() 194 do_range_limit(0, 12, 12, &rt->m, &rt->y); in timelib_do_rel_normalize() 196 do_range_limit_days_relative(&base->y, &base->m, &rt->y, &rt->m, &rt->d, rt->invert); in timelib_do_rel_normalize() 197 do_range_limit(0, 12, 12, &rt->m, &rt->y); in timelib_do_rel_normalize()
|
/PHP-8.3/ext/reflection/tests/ |
H A D | static_type.phpt | 13 $rt = $rm->getReturnType(); 14 var_dump($rt->isBuiltin()); 15 var_dump($rt->getName()); 16 var_dump((string) $rt);
|
H A D | internal_property_union_type.phpt | 8 $rt = $rp->getType(); 9 echo $rt, "\n";
|
H A D | bug78774.phpt | 13 $rt = $rp->getType(); 22 var_dump($rt->getName());
|
/PHP-8.3/ext/reflection/tests/types/ |
H A D | pure_intersection_type_implicitly_nullable.phpt | 6 function dumpType(ReflectionType $rt, int $indent = 0) { 8 echo $str_indent . "Type $rt is " . $rt::class . ":\n"; 9 echo $str_indent . "Allows Null: " . json_encode($rt->allowsNull()) . "\n"; 10 foreach ($rt->getTypes() as $type) {
|
H A D | union_types.phpt | 6 function dumpType(ReflectionUnionType $rt) { 7 echo "Type $rt:\n"; 8 echo "Allows null: " . ($rt->allowsNull() ? "true" : "false") . "\n"; 9 foreach ($rt->getTypes() as $type) { 16 function dumpBCType(ReflectionNamedType $rt) { 17 echo "Type $rt:\n"; 18 echo " Name: " . $rt->getName() . "\n"; 19 echo " String: " . (string) $rt . "\n"; 20 echo " Allows Null: " . ($rt->allowsNull() ? "true" : "false") . "\n";
|
H A D | dnf_types_with_null.phpt | 6 function dumpType(ReflectionType $rt, int $indent = 0) { 8 echo $str_indent . "Type $rt is " . $rt::class . ":\n"; 9 echo $str_indent . "Allows Null: " . json_encode($rt->allowsNull()) . "\n"; 10 foreach ($rt->getTypes() as $type) {
|
H A D | ReflectionType_002.phpt | 9 $rt = $rp->getType(); 12 var_dump($rt->getName(), $rrt->getName());
|
H A D | intersection_types.phpt | 6 function dumpType(ReflectionIntersectionType $rt) { 7 echo "Type $rt:\n"; 8 echo "Allows null: " . json_encode($rt->allowsNull()) . "\n"; 9 foreach ($rt->getTypes() as $type) {
|
H A D | dnf_types.phpt | 6 function dumpType(ReflectionType $rt, int $indent = 0) { 8 echo $str_indent . "Type $rt is " . $rt::class . ":\n"; 9 foreach ($rt->getTypes() as $type) {
|
/PHP-8.3/ext/standard/tests/file/ |
H A D | fscanf.phpt | 10 $fp = fopen($filename, "rt"); 15 $fp = fopen($filename, "rt"); 20 $fp = fopen($filename, "rt"); 32 $fp = fopen($filename, "rt"); 44 $fp = fopen($filename, "rt"); 57 $fp = fopen($filename, "rt"); 64 $fp = fopen($filename, "rt");
|
H A D | 007_variation9.phpt | 2 Test fopen and fclose() functions - usage variations - "rt" mode 6 /* Test fopen() and fclose(): Opening the file in "rt" mode, 18 echo "*** Test fopen() & fclose() functions: with 'rt' mode ***\n"; 19 $file_handle = fopen($file, "rt"); //opening the file in "rt" mode 33 *** Test fopen() & fclose() functions: with 'rt' mode ***
|
H A D | fflush_variation4.phpt | 12 $file_modes = array("r", "rb", "rt"); 46 -- Iteration 3 with file opened in rt mode --
|
H A D | fwrite_variation1-win32-mb.phpt | 2 Test fwrite() function : usage variations - r, rb & rt modes 17 Test fwrite with file opened in mode : r,rb,rt 21 $file_modes = array("r","rb","rt"); 108 -- Opening file in rt -- 158 -- Opening file in rt -- 208 -- Opening file in rt -- 258 -- Opening file in rt --
|
H A D | fwrite_variation1.phpt | 2 Test fwrite() function : usage variations - r, rb & rt modes 11 Test fwrite with file opened in mode : r,rb,rt 15 $file_modes = array("r","rb","rt"); 100 -- Opening file in rt -- 150 -- Opening file in rt -- 200 -- Opening file in rt -- 250 -- Opening file in rt --
|
H A D | fgetc_variation1.phpt | 16 $file_modes = array("r", "rb", "rt", "r+", "r+b", "r+t"); 62 -- File opened in mode : rt --
|
H A D | fgetcsv_variation12.phpt | 27 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 103 -- Testing fgetcsv() with file opened using rt mode -- 148 -- Testing fgetcsv() with file opened using rt mode -- 193 -- Testing fgetcsv() with file opened using rt mode -- 238 -- Testing fgetcsv() with file opened using rt mode -- 283 -- Testing fgetcsv() with file opened using rt mode -- 328 -- Testing fgetcsv() with file opened using rt mode -- 373 -- Testing fgetcsv() with file opened using rt mode -- 418 -- Testing fgetcsv() with file opened using rt mode --
|
H A D | fopen_variation5.phpt | 36 $modes = array("r", "r+", "rt"); 133 ** testing with mode=rt **
|
H A D | fopen_variation8.phpt | 36 $modes = array("r", "r+", "rt"); 132 ** testing with mode=rt **
|
H A D | fgetcsv_variation8.phpt | 30 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 110 -- Testing fgetcsv() with file opened using rt mode -- 230 -- Testing fgetcsv() with file opened using rt mode -- 350 -- Testing fgetcsv() with file opened using rt mode -- 470 -- Testing fgetcsv() with file opened using rt mode -- 590 -- Testing fgetcsv() with file opened using rt mode -- 710 -- Testing fgetcsv() with file opened using rt mode -- 830 -- Testing fgetcsv() with file opened using rt mode -- 950 -- Testing fgetcsv() with file opened using rt mode --
|
/PHP-8.3/.github/scripts/ |
H A D | setup-slapd.sh | 167 rt=$? 168 if [ $rt -eq 0 ]; then 174 echo "exit failure $rt" 175 exit $rt
|
/PHP-8.3/ext/opcache/tests/ |
H A D | preload.inc | 5 if (isset($rt)) { 68 if (!isset($rt)) {
|
H A D | preload_001.phpt | 19 $rt = true;
|
/PHP-8.3/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_file_variation1.phpt | 9 'rt', 'rt+', 'wt', 'wt+', 'at', 'at+', 'xt', 'xt+'); 363 string(2) "rt" 383 string(3) "rt+"
|