/PHP-5.6/ext/standard/tests/strings/ |
H A D | vfprintf_basic8.phpt | 2 Test vfprintf() function : basic functionality - octal format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using octal format ***\n"; 13 $format = "format"; 42 *** Testing vfprintf() : basic functionality - using octal format ***
|
H A D | vfprintf_basic9.phpt | 2 Test vfprintf) function : basic functionality - hexadecimal format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf) : basic functionality - using hexadecimal format ***\n"; 12 // Initialising different format strings 13 $format = "format"; 53 *** Testing vfprintf) : basic functionality - using hexadecimal format ***
|
H A D | vfprintf_basic4.phpt | 2 Test vfprintf() function : basic functionality - bool format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using bool format ***\n"; 13 $format = "format"; 42 *** Testing vfprintf() : basic functionality - using bool format ***
|
H A D | vfprintf_basic5.phpt | 2 Test vfprintf() function : basic functionality - char format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using char format ***\n"; 13 $format = "format"; 42 *** Testing vfprintf() : basic functionality - using char format ***
|
H A D | vfprintf_basic6.phpt | 2 Test vfprintf() function : basic functionality - exponential format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 echo "*** Testing vfprintf() : basic functionality - using exponential format ***\n"; 14 $format = "format"; 44 *** Testing vfprintf() : basic functionality - using exponential format ***
|
H A D | vfprintf_variation17.phpt | 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 12 * are passed to the '$format' and '$args' arguments of the function 26 // Arrays of scientific values for the format defined in $format. 27 // Each sub array contains scientific values which correspond to each format string in $format 41 // looping to test vfprintf() with different scientific formats from the above $format array 44 foreach($formats as $format) { 46 vfprintf($fp, $format, $args_array[$counter-1]);
|
H A D | vprintf_variation13.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of hexa values for the format defined in $format. 34 // Each sub array contains hexa values which correspond to each format string in $format 47 // looping to test vprintf() with different char octal from the above $format array 50 foreach($formats as $format) { 52 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vprintf_variation13_64bit.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of hexa values for the format defined in $format. 34 // Each sub array contains hexa values which correspond to each format string in $format 47 // looping to test vprintf() with different char octal from the above $format array 50 foreach($formats as $format) { 52 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vsprintf_variation13.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of hexa values for the format defined in $format. 34 // Each sub array contains hexa values which correspond to each format string in $format 47 // looping to test vsprintf() with different char octal from the above $format array 50 foreach($formats as $format) { 52 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vsprintf_variation13_64bit.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of hexa values for the format defined in $format. 34 // Each sub array contains hexa values which correspond to each format string in $format 47 // looping to test vsprintf() with different char octal from the above $format array 50 foreach($formats as $format) { 52 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | pack64_32.phpt | 22 Warning: pack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 25 Warning: pack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 28 Warning: pack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 31 Warning: pack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 34 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 37 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 40 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 43 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d
|
H A D | vprintf_variation11.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of octal values for the format defined in $format. 34 // Each sub array contains octal values which correspond to each format string in $format 50 foreach($formats as $format) { 52 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vprintf_variation11_64bit.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of octal values for the format defined in $format. 34 // Each sub array contains octal values which correspond to each format string in $format 50 foreach($formats as $format) { 52 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vprintf_variation9.phpt | 5 /* Prototype : string vprintf(string format, array args) 29 // Arrays of char values for the format defined in $format. 30 // Each sub array contains char values which correspond to each format string in $format 43 // looping to test vprintf() with different char formats from the above $format array 46 foreach($formats as $format) { 48 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vsprintf_variation11.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of octal values for the format defined in $format. 34 // Each sub array contains octal values which correspond to each format string in $format 50 foreach($formats as $format) { 52 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vsprintf_variation11_64bit.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 33 // Arrays of octal values for the format defined in $format. 34 // Each sub array contains octal values which correspond to each format string in $format 50 foreach($formats as $format) { 52 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vsprintf_variation9.phpt | 5 /* Prototype : string vsprintf(string format, array args) 29 // Arrays of char values for the format defined in $format. 30 // Each sub array contains char values which correspond to each format string in $format 43 // looping to test vsprintf() with different char formats from the above $format array 46 foreach($formats as $format) { 48 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
/PHP-5.6/ext/date/tests/ |
H A D | bug55253.phpt | 15 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 16 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n"; 18 echo $interval->format('Add %h hours %i minutes') . "\n"; 22 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 23 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n"; 29 echo $interval->format('Subtract %h hours %i minutes from expected') . "\n"; 33 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 34 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
|
H A D | date_period-immutable.phpt | 14 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 D | gmstrftime_variation11.phpt | 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 24 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n"; 25 $format = "%h"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 34 -- Testing gmstrftime() function with Abbreviated month name format %h --
|
H A D | gmstrftime_variation12.phpt | 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 24 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n"; 25 $format = "%h"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 34 -- Testing gmstrftime() function with Abbreviated month name format %h --
|
H A D | strftime_variation11.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 24 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n"; 25 $format = "%h"; 26 var_dump( strftime($format) ); 27 var_dump( strftime($format, $timestamp) ); 34 -- Testing strftime() function with Abbreviated month name format %h --
|
H A D | strftime_variation12.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 24 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n"; 25 $format = "%h"; 26 var_dump( strftime($format) ); 27 var_dump( strftime($format, $timestamp) ); 34 -- Testing strftime() function with Abbreviated month name format %h --
|
/PHP-5.6/ext/standard/tests/url/ |
H A D | get_headers_error_002.phpt | 2 Test get_headers() function: wrong type for argument format 8 /* Prototype : proto array get_headers(string url[, int format]) 18 echo "\n-- Testing get_headers() function with format argument as type string --\n"; 22 echo "\n-- Testing get_headers() function with format argument as type array --\n"; 31 echo "\n-- Testing get_headers() function with format argument as type object --\n"; 40 -- Testing get_headers() function with format argument as type string -- 45 -- Testing get_headers() function with format argument as type array -- 50 -- Testing get_headers() function with format argument as type object --
|
/PHP-5.6/ext/intl/tests/ |
H A D | msgfmt_format_error4.phpt | 2 MessageFormatter::format() invalid UTF-8 for arg key or value 18 var_dump($mf->format(array("foo" => 7, "\x80" => "bar"))); 20 var_dump($mf->format(array("foo" => "\x80"))); 24 Warning: MessageFormatter::format(): Invalid UTF-8 data in argument key: '�' in %s on line %d 27 Warning: MessageFormatter::format(): Invalid UTF-8 data in string argument: '�' in %s on line %d
|