3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($index = 0; $index < 24; $index++) { var_dump(DateTime::createFromFormat('h:i A',$index.':00 AM')->getTimestamp()); }
based on 9qNDL
Output for 7.0.20 - 7.2.0
int(1443391200) int(1443394800) int(1443398400) int(1443402000) int(1443405600) int(1443409200) int(1443412800) int(1443416400) int(1443420000) int(1443423600) int(1443427200) int(1443430800) int(1443391200) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 7.0.6
int(1462226400) int(1462230000) int(1462233600) int(1462237200) int(1462240800) int(1462244400) int(1462248000) int(1462251600) int(1462255200) int(1462258800) int(1462262400) int(1462266000) int(1462226400) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 7.0.5
int(1459548000) int(1459551600) int(1459555200) int(1459558800) int(1459562400) int(1459566000) int(1459569600) int(1459573200) int(1459576800) int(1459580400) int(1459584000) int(1459587600) int(1459548000) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 7.0.4
int(1457564400) int(1457568000) int(1457571600) int(1457575200) int(1457578800) int(1457582400) int(1457586000) int(1457589600) int(1457593200) int(1457596800) int(1457600400) int(1457604000) int(1457564400) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 7.0.3
int(1458255600) int(1458259200) int(1458262800) int(1458266400) int(1458270000) int(1458273600) int(1458277200) int(1458280800) int(1458284400) int(1458288000) int(1458291600) int(1458295200) int(1458255600) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 7.0.2
int(1458601200) int(1458604800) int(1458608400) int(1458612000) int(1458615600) int(1458619200) int(1458622800) int(1458626400) int(1458630000) int(1458633600) int(1458637200) int(1458640800) int(1458601200) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 7.0.1
int(1458687600) int(1458691200) int(1458694800) int(1458698400) int(1458702000) int(1458705600) int(1458709200) int(1458712800) int(1458716400) int(1458720000) int(1458723600) int(1458727200) int(1458687600) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 7.0.0
int(1458946800) int(1458950400) int(1458954000) int(1458957600) int(1458961200) int(1458964800) int(1458968400) int(1458972000) int(1458975600) int(1458979200) int(1458982800) int(1458986400) int(1458946800) Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/R3mAn:4 Stack trace: #0 {main} thrown in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.28
int(1443391200) int(1443394800) int(1443398400) int(1443402000) int(1443405600) int(1443409200) int(1443412800) int(1443416400) int(1443420000) int(1443423600) int(1443427200) int(1443430800) int(1443391200) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.21
int(1462140000) int(1462143600) int(1462147200) int(1462150800) int(1462154400) int(1462158000) int(1462161600) int(1462165200) int(1462168800) int(1462172400) int(1462176000) int(1462179600) int(1462140000) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.20
int(1460152800) int(1460156400) int(1460160000) int(1460163600) int(1460167200) int(1460170800) int(1460174400) int(1460178000) int(1460181600) int(1460185200) int(1460188800) int(1460192400) int(1460152800) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.19
int(1457305200) int(1457308800) int(1457312400) int(1457316000) int(1457319600) int(1457323200) int(1457326800) int(1457330400) int(1457334000) int(1457337600) int(1457341200) int(1457344800) int(1457305200) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.18
int(1457910000) int(1457913600) int(1457917200) int(1457920800) int(1457924400) int(1457928000) int(1457931600) int(1457935200) int(1457938800) int(1457942400) int(1457946000) int(1457949600) int(1457910000) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.17
int(1458342000) int(1458345600) int(1458349200) int(1458352800) int(1458356400) int(1458360000) int(1458363600) int(1458367200) int(1458370800) int(1458374400) int(1458378000) int(1458381600) int(1458342000) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.16
int(1459033200) int(1459036800) int(1459040400) int(1459040400) int(1459044000) int(1459047600) int(1459051200) int(1459054800) int(1459058400) int(1459062000) int(1459065600) int(1459069200) int(1459033200) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.15
int(1459116000) int(1459119600) int(1459123200) int(1459126800) int(1459130400) int(1459134000) int(1459137600) int(1459141200) int(1459144800) int(1459148400) int(1459152000) int(1459155600) int(1459116000) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.14
int(1459548000) int(1459551600) int(1459555200) int(1459558800) int(1459562400) int(1459566000) int(1459569600) int(1459573200) int(1459576800) int(1459580400) int(1459584000) int(1459587600) int(1459548000) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.13
int(1460671200) int(1460674800) int(1460678400) int(1460682000) int(1460685600) int(1460689200) int(1460692800) int(1460696400) int(1460700000) int(1460703600) int(1460707200) int(1460710800) int(1460671200) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.12
int(1461016800) int(1461020400) int(1461024000) int(1461027600) int(1461031200) int(1461034800) int(1461038400) int(1461042000) int(1461045600) int(1461049200) int(1461052800) int(1461056400) int(1461016800) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.11
int(1461362400) int(1461366000) int(1461369600) int(1461373200) int(1461376800) int(1461380400) int(1461384000) int(1461387600) int(1461391200) int(1461394800) int(1461398400) int(1461402000) int(1461362400) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.10
int(1461535200) int(1461538800) int(1461542400) int(1461546000) int(1461549600) int(1461553200) int(1461556800) int(1461560400) int(1461564000) int(1461567600) int(1461571200) int(1461574800) int(1461535200) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.9
int(1461708000) int(1461711600) int(1461715200) int(1461718800) int(1461722400) int(1461726000) int(1461729600) int(1461733200) int(1461736800) int(1461740400) int(1461744000) int(1461747600) int(1461708000) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.8
int(1461880800) int(1461884400) int(1461888000) int(1461891600) int(1461895200) int(1461898800) int(1461902400) int(1461906000) int(1461909600) int(1461913200) int(1461916800) int(1461920400) int(1461880800) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.6.7
int(1464127200) int(1464130800) int(1464134400) int(1464138000) int(1464141600) int(1464145200) int(1464148800) int(1464152400) int(1464156000) int(1464159600) int(1464163200) int(1464166800) int(1464127200) Fatal error: Call to a member function getTimestamp() on boolean in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.35
int(1463868000) int(1463871600) int(1463875200) int(1463878800) int(1463882400) int(1463886000) int(1463889600) int(1463893200) int(1463896800) int(1463900400) int(1463904000) int(1463907600) int(1463868000) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.34
int(1460239200) int(1460242800) int(1460246400) int(1460250000) int(1460253600) int(1460257200) int(1460260800) int(1460264400) int(1460268000) int(1460271600) int(1460275200) int(1460278800) int(1460239200) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.33
int(1457391600) int(1457395200) int(1457398800) int(1457402400) int(1457406000) int(1457409600) int(1457413200) int(1457416800) int(1457420400) int(1457424000) int(1457427600) int(1457431200) int(1457391600) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.32
int(1458082800) int(1458086400) int(1458090000) int(1458093600) int(1458097200) int(1458100800) int(1458104400) int(1458108000) int(1458111600) int(1458115200) int(1458118800) int(1458122400) int(1458082800) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.31
int(1458428400) int(1458432000) int(1458435600) int(1458439200) int(1458442800) int(1458446400) int(1458450000) int(1458453600) int(1458457200) int(1458460800) int(1458464400) int(1458468000) int(1458428400) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.30
int(1459375200) int(1459378800) int(1459382400) int(1459386000) int(1459389600) int(1459393200) int(1459396800) int(1459400400) int(1459404000) int(1459407600) int(1459411200) int(1459414800) int(1459375200) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.29
int(1460757600) int(1460761200) int(1460764800) int(1460768400) int(1460772000) int(1460775600) int(1460779200) int(1460782800) int(1460786400) int(1460790000) int(1460793600) int(1460797200) int(1460757600) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.28
int(1461103200) int(1461106800) int(1461110400) int(1461114000) int(1461117600) int(1461121200) int(1461124800) int(1461128400) int(1461132000) int(1461135600) int(1461139200) int(1461142800) int(1461103200) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.27
int(1461189600) int(1461193200) int(1461196800) int(1461200400) int(1461204000) int(1461207600) int(1461211200) int(1461214800) int(1461218400) int(1461222000) int(1461225600) int(1461229200) int(1461189600) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.26
int(1461621600) int(1461625200) int(1461628800) int(1461632400) int(1461636000) int(1461639600) int(1461643200) int(1461646800) int(1461650400) int(1461654000) int(1461657600) int(1461661200) int(1461621600) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.25
int(1461794400) int(1461798000) int(1461801600) int(1461805200) int(1461808800) int(1461812400) int(1461816000) int(1461819600) int(1461823200) int(1461826800) int(1461830400) int(1461834000) int(1461794400) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.5.24
int(1463954400) int(1463958000) int(1463961600) int(1463965200) int(1463968800) int(1463972400) int(1463976000) int(1463979600) int(1463983200) int(1463986800) int(1463990400) int(1463994000) int(1463954400) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.4.8 - 5.4.45
int(1443391200) int(1443394800) int(1443398400) int(1443402000) int(1443405600) int(1443409200) int(1443412800) int(1443416400) int(1443420000) int(1443423600) int(1443427200) int(1443430800) int(1443391200) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.4.2 - 5.4.7
int(1445900400) int(1445904000) int(1445907600) int(1445911200) int(1445914800) int(1445918400) int(1445922000) int(1445925600) int(1445929200) int(1445932800) int(1445936400) int(1445940000) int(1445900400) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.
Output for 5.3.18 - 5.3.29
int(1443736800) int(1443740400) int(1443744000) int(1443747600) int(1443751200) int(1443754800) int(1443758400) int(1443762000) int(1443765600) int(1443769200) int(1443772800) int(1443776400) int(1443736800) Fatal error: Call to a member function getTimestamp() on a non-object in /in/R3mAn on line 4
Process exited with code 255.