3v4l.org

run code in 300+ PHP versions simultaneously
<?php print '<pre>'; $this = new stdClass(); $this->bla = 'dddd'; print json_encode($this);

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.260.0100.07019.03
5.4.250.0070.05318.90
5.4.240.0170.05319.02
5.4.230.0030.06018.72
5.4.220.0170.05019.02
5.4.210.0070.06018.84
5.4.200.0130.05718.72
5.4.190.0130.06718.82
5.4.180.0130.05718.73
5.4.170.0070.07018.87
5.4.160.0070.07018.85
5.4.150.0170.05319.00
5.4.140.0130.06016.27
5.4.130.0100.05316.53
5.4.120.0130.06316.27
5.4.110.0270.04016.26
5.4.100.0070.07016.52
5.4.90.0100.05316.42
5.4.80.0100.04716.28
5.4.70.0170.05716.40
5.4.60.0070.06016.47
5.4.50.0070.06716.46
5.4.40.0130.07016.52
5.4.30.0100.07016.37
5.4.20.0100.06316.39
5.4.10.0100.05016.32
5.4.00.0070.05315.93
5.3.280.0030.07714.60
5.3.270.0030.05714.60
5.3.260.0070.06314.48
5.3.250.0030.08314.52
5.3.240.0170.06014.38
5.3.230.0200.04714.69
5.3.220.0200.04314.71
5.3.210.0130.05314.57
5.3.200.0070.06014.72
5.3.190.0230.04714.26
5.3.180.0070.05314.35
5.3.170.0000.07014.57
5.3.160.0070.07014.58
5.3.150.0100.05714.58
5.3.140.0200.06014.56
5.3.130.0000.08714.25
5.3.120.0070.07314.54
5.3.110.0100.06314.55
5.3.100.0030.05714.19
5.3.90.0030.06713.93
5.3.80.0100.04713.71
5.3.70.0100.06014.02
5.3.60.0030.05713.90
5.3.50.0000.06013.88
5.3.40.0070.05714.03
5.3.30.0100.04713.95
5.3.20.0100.06313.71
5.3.10.0030.05313.52
5.3.00.0070.04713.68
5.2.170.0000.04711.02
5.2.160.0100.03711.17
5.2.150.0100.03711.02
5.2.140.0070.05711.05
5.2.130.0000.05011.11
5.2.120.0130.04711.01
5.2.110.0070.05011.00
5.2.100.0130.05011.11
5.2.90.0030.04711.01
5.2.80.0030.05010.92
5.2.70.0070.04311.11
5.2.60.0030.04310.96
5.2.50.0030.04310.90
5.2.40.0030.05711.14
5.2.30.0170.04310.86
5.2.20.0200.04310.79
5.2.10.0170.03710.93
5.2.00.0100.04010.79
5.1.60.0070.04310.22
5.1.50.0070.03710.01
5.1.40.0100.0379.74
5.1.30.0030.03710.23
5.1.20.0030.04710.25
5.1.10.0100.0479.98
5.1.00.0000.04010.30
5.0.50.0030.0338.32
5.0.40.0000.0338.29
5.0.30.0070.0438.23
5.0.20.0030.0338.02
5.0.10.0030.0338.09
5.0.00.0100.0478.21
4.4.90.0030.0307.09
4.4.80.0000.0237.09
4.4.70.0030.0277.09
4.4.60.0030.0277.09
4.4.50.0070.0277.09
4.4.40.0030.0337.09
4.4.30.0030.0307.09
4.4.20.0070.0177.09
4.4.10.0070.0177.09
4.4.00.0030.0437.09
4.3.110.0030.0277.09
4.3.100.0070.0207.08
4.3.90.0070.0237.08
4.3.80.0000.0337.08
4.3.70.0070.0237.08
4.3.60.0030.0237.08
4.3.50.0030.0207.08
4.3.40.0000.0377.08
4.3.30.0030.0307.08
4.3.20.0000.0337.08
4.3.10.0000.0237.08
4.3.00.0100.0306.83

preferences:
143.94 ms | 1394 KiB | 7 Q