3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=12; $y=13; echo $value = $x / $y; //Would like to see 0.923 not 1

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.160.0070.03718.90
5.4.150.0030.06319.04
5.4.140.0030.05016.41
5.4.130.0000.04016.40
5.4.120.0070.04016.37
5.4.110.0100.06716.39
5.4.100.0030.07716.67
5.4.90.0030.07716.30
5.4.80.0100.03016.42
5.4.70.0100.03016.36
5.4.60.0070.03316.65
5.4.50.0070.03016.40
5.4.40.0100.03316.39
5.4.30.0030.03316.31
5.4.20.0000.03716.36
5.4.10.0030.03316.37
5.4.00.0030.03316.04
5.3.260.0070.03714.50
5.3.250.0000.08014.54
5.3.240.0030.05314.56
5.3.230.0030.03714.69
5.3.220.0100.07014.66
5.3.210.0030.05014.45
5.3.200.0070.06014.50
5.3.190.0100.07314.50
5.3.180.0000.04014.60
5.3.170.0000.04014.58
5.3.160.0000.04014.65
5.3.150.0030.03714.49
5.3.140.0070.03314.36
5.3.130.0030.03714.52
5.3.120.0000.04014.48
5.3.110.0130.02714.37
5.3.100.0000.04014.02
5.3.90.0000.03714.11
5.3.80.0000.03713.96
5.3.70.0070.03013.80
5.3.60.0030.04314.09
5.3.50.0030.03313.88
5.3.40.0000.04013.76
5.3.30.0070.03013.86
5.3.20.0000.03713.63
5.3.10.0070.03013.63
5.3.00.0000.03713.58

preferences:
140.51 ms | 1394 KiB | 7 Q