@ 2013-12-11T16:05:36Z <?php
if('12/10/2000' < '10/10/2000') echo "true\n"; else echo "false\n";
$data = date('d/m/Y');
print_r($data);
echo "\n";
$data1 = DateTime::createFromFormat('d/m/Y', $data);
$data2 = DateTime::createFromFormat('d/m/Y', $data);
echo $data1 == $data2->add(new DateInterval('P1D')) ? "iguais\n" : "diferentes\n";
$arr = array(arra(), array());
print_r($arr);
if(empty($arr)) echo "empty\n"; else echo "not empty\n";
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 false
11/12/2013
diferentes
Fatal error: Uncaught Error: Call to undefined function arra() in /in/uSeik:11
Stack trace:
#0 {main}
thrown in /in/uSeik on line 11
Process exited with code 255 . Output for 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 false
11/12/2013
diferentes
Fatal error: Call to undefined function arra() in /in/uSeik on line 11
Process exited with code 255 . Output for 5.2.10 - 5.2.17 false
11/12/2013
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/uSeik on line 7
Process exited with code 255 . Output for 5.2.0 - 5.2.9 false
11/12/2013
Fatal error: Call to undefined method DateTime::createfromformat() in /in/uSeik on line 7
Process exited with code 255 . Output for 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 false
11/12/2013
Fatal error: Class 'DateTime' not found in /in/uSeik on line 7
Process exited with code 255 . Output for 4.3.2 - 4.3.11 , 4.4.0 - 4.4.9 false
11/12/2013
Fatal error: Undefined class name 'datetime' in /in/uSeik on line 7
Process exited with code 255 . Output for 4.3.0 - 4.3.1 false
11/12/2013
Fatal error: Undefined class name 'datetime' in /in/uSeik on line 7
preferences:dark mode live preview
297.43 ms | 401 KiB | 460 Q