3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 123.45; $b = 1; $ans = floatval($a) / floatval($b); var_dump($ans); $post_key = mt_rand(); var_dump($post_key); ?>
based on Sc5ge
Output for 7.2.6
float(123.45) int(33806164)
Output for 7.2.0
float(123.45) int(177556129)
Output for 7.1.10
float(123.45) int(1302432394)
Output for 7.1.7
float(123.45) int(298045245)
Output for 7.1.6
float(123.45) int(1577963821)
Output for 7.1.5
float(123.45) int(1982897482)
Output for 7.1.4
float(123.45) int(583011679)
Output for 7.1.3
float(123.45) int(1893600444)
Output for 7.1.2
float(123.45) int(1191740818)
Output for 7.1.1
float(123.45) int(349719586)
Output for 7.1.0
float(123.45) int(723208944)
Output for 7.0.20
float(123.45) int(414254592)
Output for 7.0.19
float(123.45) int(1704737367)
Output for 7.0.18
float(123.45) int(85304987)
Output for 7.0.17
float(123.45) int(1730900238)
Output for 7.0.16
float(123.45) int(2048329142)
Output for 7.0.15
float(123.45) int(1268467224)
Output for 7.0.14
float(123.45) int(703890770)
Output for 7.0.13
float(123.45) int(1748270889)
Output for 7.0.12
float(123.45) int(24927516)
Output for 7.0.11
float(123.45) int(1303578879)
Output for 7.0.10
float(123.45) int(327375679)
Output for 7.0.9
float(123.45) int(51358473)
Output for 7.0.8
float(123.45) int(1752473349)
Output for 7.0.7
float(123.45) int(1814508564)
Output for 7.0.6
float(123.45) int(1184586239)
Output for 7.0.5
float(123.45) int(405171521)
Output for 7.0.4
float(123.45) int(1435628297)
Output for 7.0.3
float(123.45) int(1901801380)
Output for 7.0.2
float(123.45) int(1246655298)
Output for 7.0.1
float(123.45) int(303413096)
Output for 7.0.0
float(123.45) int(643461122)
Output for hhvm-3.15.4
float(123.45) int(633726530)
Output for 5.6.30
float(123.45) int(1527935363)
Output for 5.6.29
float(123.45) int(135100378)
Output for 5.6.28
float(123.45) int(2036938541)
Output for 5.6.27
float(123.45) int(845246364)
Output for 5.6.26
float(123.45) int(928270007)
Output for 5.6.25
float(123.45) int(1343116598)
Output for 5.6.24
float(123.45) int(2087726880)
Output for 5.6.23
float(123.45) int(973185049)
Output for 5.6.22
float(123.45) int(1046599327)
Output for 5.6.21
float(123.45) int(1386542541)
Output for 5.6.20
float(123.45) int(1352124980)
Output for 5.6.19
float(123.45) int(46034748)
Output for 5.6.18
float(123.45) int(1143816276)
Output for 5.6.17
float(123.45) int(22311821)
Output for 5.6.16
float(123.45) int(452481196)
Output for 5.6.15
float(123.45) int(560526630)
Output for 5.6.14
float(123.45) int(1450267456)
Output for 5.6.13
float(123.45) int(1596260136)
Output for 5.6.12
float(123.45) int(585200569)
Output for 5.6.11
float(123.45) int(882140098)
Output for 5.6.10
float(123.45) int(554004615)
Output for 5.6.9
float(123.45) int(1833605121)
Output for 5.6.8
float(123.45) int(214708687)
Output for 5.6.7
float(123.45) int(1020257406)
Output for 5.6.6
float(123.45) int(2043749710)
Output for 5.6.5
float(123.45) int(762837074)
Output for 5.6.4
float(123.45) int(678485382)
Output for 5.6.3
float(123.45) int(473922409)
Output for 5.6.2
float(123.45) int(1097087776)
Output for 5.6.1
float(123.45) int(2016082521)
Output for 5.6.0
float(123.45) int(1797417008)