Home
last modified time | relevance | path

Searched refs:getdate (Results 1 – 23 of 23) sorted by relevance

/PHP-5.3/ext/date/tests/
H A Dgetdate_error.phpt2 Test getdate() function : error conditions
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : error conditions ***\n";
16 //Test getdate with one more than the expected number of arguments
17 echo "\n-- Testing getdate() function with more than expected no. of arguments --\n";
20 var_dump( getdate($timestamp, $extra_arg) );
25 *** Testing getdate() : error conditions ***
27 -- Testing getdate() function with more than expected no. of arguments --
29 Warning: getdate() expects at most 1 parameter, 2 given in %s on line %d
H A Dgetdate_variation7.phpt2 Test getdate() function : usage variation - Passing high positive and negative float values to time…
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : usage variation ***\n";
14 echo "\n-- Testing getdate() function by passing float 12.3456789000e10 value to timestamp --\n";
16 var_dump( getdate($timestamp) );
18 echo "\n-- Testing getdate() function by passing float -12.3456789000e10 value to timestamp --\n";
20 var_dump( getdate($timestamp) );
25 \*\*\* Testing getdate\(\) : usage variation \*\*\*
27 -- Testing getdate\(\) function by passing float 12.3456789000e10 value to timestamp --
53 -- Testing getdate\(\) function by passing float -12.3456789000e10 value to timestamp --
H A Dgetdate_basic.phpt2 Test getdate() function : basic functionality
5 /* Prototype : array getdate([int timestamp])
10 echo "*** Testing getdate() : basic functionality ***\n";
18 // Calling getdate() with all possible arguments
19 var_dump( getdate($timestamp) );
21 // Calling getdate() with mandatory arguments
22 var_dump( getdate() );
27 *** Testing getdate() : basic functionality ***
H A D008.phpt2 getdate() tests
8 var_dump(getdate(1,1));
10 var_dump(getdate($t));
11 var_dump(getdate());
16 Warning: getdate() expects at most 1 parameter, 2 given in %s on line %d
H A Dgetdate_variation1.phpt2 Test getdate() function : usage variation - Passing unexpected values to first argument timestamp.
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : usage variation ***\n";
90 var_dump( getdate($value) );
96 *** Testing getdate() : usage variation ***
178 Warning: getdate() expects parameter 1 to be long, array given in %s on line %d
183 Warning: getdate() expects parameter 1 to be long, array given in %s on line %d
188 Warning: getdate() expects parameter 1 to be long, array given in %s on line %d
193 Warning: getdate() expects parameter 1 to be long, array given in %s on line %d
354 Warning: getdate() expects parameter 1 to be long, string given in %s on line %d
[all …]
H A Dgetdate_variation2.phpt2 Test getdate() function : usage variation - Passing octal timestamp values
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : usage variation ***\n";
29 var_dump( getdate($value) );
35 *** Testing getdate() : usage variation ***
H A Dgetdate_variation6.phpt2 Test getdate() function : usage variation - Passing strings containing numbers
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : usage variation ***\n";
25 var_dump( getdate($value) );
30 *** Testing getdate() : usage variation ***
H A Dgetdate_variation3.phpt2 Test getdate() function : usage variation - Passing hexadcimal timestamp values
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : usage variation ***\n";
29 var_dump( getdate($value) );
35 *** Testing getdate() : usage variation ***
H A Dgetdate_variation4.phpt2 Test getdate() function : usage variation - Verifyig by supplying year-wise sample time stamps sinc…
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : usage variation ***\n";
30 var_dump( getdate($value) );
36 *** Testing getdate() : usage variation ***
H A Dgetdate_variation5.phpt2 Test getdate() function : usage variation - Verifyig with different timezones on Unix epoch timesta…
5 /* Prototype : array getdate([int timestamp])
11 echo "*** Testing getdate() : usage variation ***\n";
35 var_dump( getdate(0) );
40 *** Testing getdate() : usage variation ***
/PHP-5.3/ext/sybase_ct/tests/
H A Dbug30312-withfree.phpt17 $query= sybase_unbuffered_query('select datepart(yy, getdate())');
22 $query= sybase_unbuffered_query('select datepart(mm, getdate()), datepart(dd, getdate())');
H A Dbug30312.phpt17 $query= sybase_unbuffered_query('select datepart(yy, getdate())');
21 $query= sybase_unbuffered_query('select datepart(yy, getdate())');
H A Dtest_connectionbased_msghandler.phpt17 var_dump(sybase_select_ex($db, 'select getdate(NULL)'));
23 >>> Query: select getdate(NULL)
H A Dtest_msghandler.phpt24 var_dump(sybase_select_ex($db, 'select getdate(NULL)'));
39 >>> Query: select getdate(NULL)
H A Dtest_close_default.phpt16 var_dump(sybase_query('select getdate()'));
H A Dtest_msghandler_handled.phpt37 var_dump(sybase_select_ex($db, 'select getdate(NULL)'));
48 >>> Query: select getdate(NULL)
H A Dtest_close.phpt18 var_dump(sybase_query('select getdate()', $db));
H A Dtest_fields.phpt21 getdate() as "lastchange"
H A Dtest_fetch_object.phpt27 getdate() as "lastchange"
H A Dtest_query_nostore.phpt23 lastchange datetime default getdate() null
/PHP-5.3/ext/date/
H A Dphp_date.h47 PHP_FUNCTION(getdate);
H A Dphp_date.c398 PHP_FE(getdate, arginfo_getdate)
1760 PHP_FUNCTION(getdate) in PHP_FUNCTION() argument
/PHP-5.3/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc73 $mtime = ($time !== null ? getdate($time) : getdate());

Completed in 40 milliseconds