3v4l.org

run code in 300+ PHP versions simultaneously
<?php $&#9788; = "sun"; var_dump($&#9788;);

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.270.0170.05718.94
5.4.260.0070.05319.00
5.4.250.0130.07018.94
5.4.240.0270.04018.72
5.4.230.0100.05318.77
5.4.220.0170.06718.73
5.4.210.0200.06719.00
5.4.200.0070.05718.96
5.4.190.0070.05718.72
5.4.180.0070.07018.93
5.4.170.0000.06719.00
5.4.160.0030.05718.72
5.4.150.0470.06018.98
5.4.140.0170.06716.42
5.4.130.0200.05016.41
5.4.120.0130.06316.48
5.4.110.0070.06016.48
5.4.100.0100.05316.39
5.4.90.0130.06316.46
5.4.80.0170.04316.37
5.4.70.0100.05716.45
5.4.60.0130.06316.43
5.4.50.0130.04316.46
5.4.40.0200.04316.52
5.4.30.0130.05316.50
5.4.20.0130.07316.36
5.4.10.0130.05716.38
5.4.00.0070.07015.88
5.3.280.0100.07014.61
5.3.270.0070.06714.63
5.3.260.0100.07714.70
5.3.250.0100.05014.61
5.3.240.0070.05014.63
5.3.230.0130.06314.37
5.3.220.0070.05014.59
5.3.210.0130.05714.41
5.3.200.0130.04714.48
5.3.190.0170.06314.57
5.3.180.0100.05714.43
5.3.170.0000.05714.66
5.3.160.0100.08014.72
5.3.150.0130.05714.33
5.3.140.0200.06714.33
5.3.130.0100.06014.46
5.3.120.0070.07014.56
5.3.110.0070.05314.39
5.3.100.0100.05713.81
5.3.90.0170.06714.11
5.3.80.0130.05713.90
5.3.70.0200.04314.06
5.3.60.0170.06014.02
5.3.50.0030.05713.96
5.3.40.0170.06313.80
5.3.30.0170.05714.00
5.3.20.0070.04713.69
5.3.10.0000.05313.53
5.3.00.0100.07313.50
5.2.170.0070.04711.16
5.2.160.0100.04710.90
5.2.150.0130.05311.14
5.2.140.0070.04311.07
5.2.130.0230.04711.21
5.2.120.0100.05011.11
5.2.110.0100.05311.20
5.2.100.0030.06311.10
5.2.90.0070.03710.93
5.2.80.0070.06011.20
5.2.70.0100.05711.09
5.2.60.0070.05311.20
5.2.50.0130.04710.95
5.2.40.0030.04311.01
5.2.30.0100.05710.98
5.2.20.0000.04310.96
5.2.10.0070.03710.93
5.2.00.0170.03010.93
5.1.60.0030.03710.18
5.1.50.0100.04010.18
5.1.40.0070.03310.13
5.1.30.0070.03710.41
5.1.20.0130.04710.27
5.1.10.0030.0539.99
5.1.00.0030.05010.30
5.0.50.0000.0438.48
5.0.40.0000.0338.46
5.0.30.0100.0508.36
5.0.20.0030.0278.25
5.0.10.0030.0338.00
5.0.00.0000.0608.18
4.4.90.0070.0176.83
4.4.80.0000.0236.83
4.4.70.0070.0276.83
4.4.60.0070.0236.83
4.4.50.0100.0176.83
4.4.40.0000.0506.83
4.4.30.0070.0276.83
4.4.20.0070.0206.83
4.4.10.0070.0176.83
4.4.00.0000.0376.83
4.3.110.0070.0206.83
4.3.100.0030.0306.83
4.3.90.0100.0176.83
4.3.80.0030.0476.83
4.3.70.0070.0176.83
4.3.60.0100.0236.83
4.3.50.0030.0276.83
4.3.40.0070.0376.83
4.3.30.0000.0306.83
4.3.20.0030.0206.83
4.3.10.0070.0276.83
4.3.00.0000.0237.36

preferences:
141.24 ms | 1394 KiB | 7 Q