1--TEST--
2Test localtime() function : error conditions
3--SKIPIF--
4<?php
5if (!function_exists('strptime')) {
6    echo "SKIP strptime function not available in build";
7}
8?>
9--FILE--
10<?php
11//Set the default time zone
12date_default_timezone_set("Europe/London");
13
14echo "*** Testing strptime() : error conditions ***\n";
15
16echo "\n-- Testing strptime() function on failure --\n";
17$format = '%b %d %Y %H:%M:%S';
18var_dump( strptime('foo', $format) );
19
20?>
21--EXPECT--
22*** Testing strptime() : error conditions ***
23
24-- Testing strptime() function on failure --
25bool(false)
26