Lines Matching refs:format
2 DateInterval::format(), except %a
10 <?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?>
20 echo $interval->format('Y=%Y') . "\n";
21 echo $interval->format('M=%M') . "\n";
22 echo $interval->format('D=%D') . "\n";
23 echo $interval->format('H=%H') . "\n";
24 echo $interval->format('I=%I') . "\n";
25 echo $interval->format('S=%S') . "\n";
26 echo $interval->format('R=%R') . "\n";
28 echo $interval->format('y=%y') . "\n";
29 echo $interval->format('m=%m') . "\n";
30 echo $interval->format('d=%d') . "\n";
31 echo $interval->format('h=%h') . "\n";
32 echo $interval->format('i=%i') . "\n";
33 echo $interval->format('s=%s') . "\n";
34 echo $interval->format('r=%r') . "\n";
40 echo $interval->format('inverted R=%R') . "\n";
41 echo $interval->format('inverted r=%r') . "\n";
45 echo $interval->format('%=%%') . "\n";
47 // Invalid valid format character does not raise warnings.
48 echo $interval->format('x=%x') . "\n";