3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('09:30:00'); echo '<br/>'; echo strtotime('14:00:00'); echo '<br/>'; echo round(abs(strtotime('19:00:00') - strtotime('09:30:00')) / 60, 2);
based on qVnGk
Output for 5.6.28, 7.0.20 - 7.2.0
1444116600<br/>1444132800<br/>570
Output for 7.0.6
1462260600<br/>1462276800<br/>570
Output for 7.0.5
1459668600<br/>1459684800<br/>570
Output for 7.0.4
1457598600<br/>1457614800<br/>570
Output for 7.0.3
1458289800<br/>1458306000<br/>570
Output for 7.0.2
1458635400<br/>1458651600<br/>570
Output for 7.0.1
1458721800<br/>1458738000<br/>570
Output for 7.0.0
1459063800<br/>1459080000<br/>570
Output for 5.6.21
1462174200<br/>1462190400<br/>570
Output for 5.6.20
1460187000<br/>1460203200<br/>570
Output for 5.6.19
1457339400<br/>1457355600<br/>570
Output for 5.6.18
1458030600<br/>1458046800<br/>570
Output for 5.6.17
1458376200<br/>1458392400<br/>570
Output for 5.6.16
1459150200<br/>1459166400<br/>570
Output for 5.6.15
1459236600<br/>1459252800<br/>570
Output for 5.6.14
1459582200<br/>1459598400<br/>570
Output for 5.6.13
1460705400<br/>1460721600<br/>570
Output for 5.6.12
1461051000<br/>1461067200<br/>570
Output for 5.6.11
1461396600<br/>1461412800<br/>570
Output for 5.6.10
1461569400<br/>1461585600<br/>570
Output for 5.6.9
1461742200<br/>1461758400<br/>570
Output for 5.6.8
1461915000<br/>1461931200<br/>570
Output for 5.5.35
1463902200<br/>1463918400<br/>570
Output for 5.5.34
1460359800<br/>1460376000<br/>570
Output for 5.5.33
1457425800<br/>1457442000<br/>570
Output for 5.5.32
1458203400<br/>1458219600<br/>570
Output for 5.5.31
1458462600<br/>1458478800<br/>570
Output for 5.5.30
1459495800<br/>1459512000<br/>570
Output for 5.5.29
1460791800<br/>1460808000<br/>570
Output for 5.5.28
1461223800<br/>1461240000<br/>570
Output for 5.5.27
1461310200<br/>1461326400<br/>570
Output for 5.5.26
1461655800<br/>1461672000<br/>570
Output for 5.5.25
1461828600<br/>1461844800<br/>570
Output for 5.5.24
1464075000<br/>1464091200<br/>570
Output for 5.3.18 - 5.4.45
1448526600<br/>1448542800<br/>570