3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $last_access=strtotime('-2 days'); if ($last_access >= strtotime("today")) echo "Today"; else if ($last_access >= strtotime("yesterday")) echo "Yesterday"; else echo 'not yesterday'; ?>
Output for 5.6.28, 7.0.12 - 7.1.0
1387227805not yesterday
Output for 7.0.6
1462117604not yesterday
Output for 7.0.5
1459484074not yesterday
Output for 7.0.4
1457456220not yesterday
Output for 7.0.3
1458150375not yesterday
Output for 7.0.2
1458519004not yesterday
Output for 7.0.1
1458618917not yesterday
Output for 7.0.0
1458885121not yesterday
Output for hhvm-3.12.0
1457677937not yesterday
Output for hhvm-3.10.0
1459204013not yesterday
Output for 5.6.21
1462013819not yesterday
Output for 5.6.20
1460085219not yesterday
Output for 5.6.19
1457226531not yesterday
Output for 5.6.18
1457862261not yesterday
Output for 5.6.17
1458250284not yesterday
Output for 5.6.16
1458974355not yesterday
Output for 5.6.15
1459060212not yesterday
Output for 5.6.14
1459412644not yesterday
Output for 5.6.13
1460551449not yesterday
Output for 5.6.12
1460949142not yesterday
Output for 5.6.11
1461317276not yesterday
Output for 5.6.10
1461411459not yesterday
Output for 5.6.9
1461602821not yesterday
Output for 5.6.8
1461807552not yesterday
Output for 5.5.35
1463764086not yesterday
Output for 5.5.34
1460179575not yesterday
Output for 5.5.33
1457322293not yesterday
Output for 5.5.32
1458048469not yesterday
Output for 5.5.31
1458347369not yesterday
Output for 5.5.30
1459326223not yesterday
Output for 5.5.29
1460689704not yesterday
Output for 5.5.28
1461047104not yesterday
Output for 5.5.27
1461140073not yesterday
Output for 5.5.26
1461507616not yesterday
Output for 5.5.25
1461705088not yesterday
Output for 5.5.24
1463888844not yesterday
Output for 5.4.45
1442838214not yesterday
Output for 5.4.44
1442838209not yesterday
Output for 5.4.43
1442838203not yesterday
Output for 5.4.42
1442838201not yesterday
Output for 5.4.41
1442838198not yesterday
Output for 5.4.40
1442838196not yesterday
Output for 5.4.39
1442838193not yesterday
Output for 5.4.38
1442838192not yesterday
Output for 5.4.37
1442838190not yesterday
Output for 5.4.36
1442838188not yesterday
Output for 5.4.35
1442838186not yesterday
Output for 5.4.34
1442838184not yesterday
Output for 5.4.32
1442838181not yesterday
Output for 5.4.31
1442838179not yesterday
Output for 5.4.29 - 5.4.30
1442838177not yesterday
Output for 5.4.28
1442838175not yesterday
Output for 5.4.27
1442838174not yesterday
Output for 5.4.26
1442838173not yesterday
Output for 5.4.25
1442838172not yesterday
Output for 5.4.24
1442838170not yesterday
Output for 5.4.23
1442838169not yesterday
Output for 5.4.22
1442838167not yesterday
Output for 5.4.21
1442838166not yesterday
Output for 5.4.20
1442838165not yesterday
Output for 5.4.19
1442838163not yesterday
Output for 5.4.18
1442838162not yesterday
Output for 5.3.27, 5.4.17
1442838160not yesterday
Output for 5.3.26, 5.4.16
1442838158not yesterday
Output for 5.3.25, 5.4.15
1442838157not yesterday
Output for 5.4.14
1442838156not yesterday
Output for 5.3.24, 5.4.13
1442838155not yesterday
Output for 5.3.22, 5.4.12
1442838153not yesterday
Output for 5.3.20, 5.4.11
1442838151not yesterday
Output for 5.4.10
1442838150not yesterday
Output for 5.3.19, 5.4.9
1442838149not yesterday
Output for 5.4.8
1442838147not yesterday
Output for 5.3.17, 5.4.7
1442838146not yesterday
Output for 5.3.16, 5.4.6
1442838145not yesterday
Output for 5.3.14, 5.4.5
1442838143not yesterday
Output for 5.4.4
1442838142not yesterday
Output for 5.4.3
1442838141not yesterday
Output for 5.4.2
1442838139not yesterday
Output for 5.3.11, 5.4.1
1442838138not yesterday
Output for 5.3.10, 5.4.0
1442838137not yesterday
Output for 5.3.29
1442838180not yesterday
Output for 5.3.28
1442838168not yesterday
Output for 5.3.23
1442838154not yesterday
Output for 5.3.21
1442838152not yesterday
Output for 5.3.18
1442838148not yesterday
Output for 5.3.15
1442838144not yesterday
Output for 5.3.12 - 5.3.13
1442838140not yesterday
Output for 5.3.9
1442838136not yesterday
Output for 5.3.7 - 5.3.8
1442838135not yesterday
Output for 5.3.6
1442838134not yesterday
Output for 5.2.17, 5.3.5
1442838133not yesterday
Output for 5.2.16, 5.3.4
1442838132not yesterday
Output for 5.2.15, 5.3.3
1442838131not yesterday
Output for 5.2.13, 5.3.2
1442838129not yesterday
Output for 5.2.11, 5.3.1
1442838127not yesterday
Output for 5.2.10, 5.3.0
1442838126not yesterday
Output for 5.2.14
1442838130not yesterday
Output for 5.2.12
1442838128not yesterday
Output for 5.2.8 - 5.2.9
1442838125not yesterday
Output for 4.4.9, 5.2.7
1442838124not yesterday
Output for 5.2.6
1442838123not yesterday
Output for 4.4.8, 5.2.5
1442838122not yesterday
Output for 5.2.3 - 5.2.4
1442838121not yesterday
Output for 4.4.7, 5.2.2
1442838120not yesterday
Output for 5.2.1
1442838118not yesterday
Output for 5.2.0
1442838117not yesterday
Output for 5.1.6
1442838116not yesterday
Output for 4.4.3, 5.1.5
1442838114not yesterday
Output for 5.1.4
1442838113not yesterday
Output for 5.1.2 - 5.1.3
1442838112not yesterday
Output for 4.4.2, 5.1.1
1442838111not yesterday
Output for 5.1.0
1442838110not yesterday
Output for 4.4.1, 5.0.5
1442838109not yesterday
Output for 4.3.11, 5.0.4
1442838107not yesterday
Output for 4.3.10, 5.0.3
1442838106not yesterday
Output for 5.0.0 - 5.0.2
1442786400not yesterday
Output for 4.4.5 - 4.4.6
1442838119not yesterday
Output for 4.4.4
1442838115not yesterday
Output for 4.4.0
1442838108not yesterday
Output for 4.3.9
1442838105not yesterday
Output for 4.3.8
1442838103not yesterday
Output for 4.3.6 - 4.3.7
1442838102not yesterday
Output for 4.3.5
1442838101not yesterday
Output for 4.3.3 - 4.3.4
1442838100not yesterday
Output for 4.3.1 - 4.3.2
1442838099not yesterday
Output for 4.3.0
1442838098not yesterday