3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0;$i<1000;$i++) { (new stdclass())->x = $i; }

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.6.80.0030.08720.40
5.5.240.0000.08020.27
5.4.400.0930.04718.62
5.4.390.0770.06718.57
5.4.380.1000.07718.40
5.4.370.0830.05718.46
5.4.360.0830.06318.57
5.4.350.0930.06018.64
5.4.340.0930.05318.60
5.4.320.0930.06318.59
5.4.310.1030.04318.39
5.4.300.0830.05718.64
5.4.290.0800.06018.55
5.4.280.0770.06318.59
5.4.270.1000.06318.50
5.4.260.0830.06018.47
5.4.250.1070.06018.58
5.4.240.1000.06318.45
5.4.230.0930.06718.62
5.4.220.1070.05718.54
5.4.210.1070.06718.63
5.4.200.0970.05016.53
5.4.190.1100.07018.58
5.4.180.0930.06718.43
5.4.170.0900.07318.43
5.4.160.0970.05718.39
5.4.150.1030.05318.61
5.4.140.0900.04716.42
5.4.130.0830.05716.27
5.4.120.0770.06316.23
5.4.110.0900.05716.25
5.4.100.0900.05316.18
5.4.90.1030.06016.21
5.4.80.0830.05716.15
5.4.70.0930.05316.20
5.4.60.1000.06316.40
5.4.50.0900.04316.19
5.4.40.0930.07716.18
5.4.30.1030.04016.14
5.4.20.1000.07316.12
5.4.10.0970.04316.17
5.4.00.1000.04315.66
5.3.290.1070.07014.64
5.3.280.0800.06314.66
5.3.270.0800.06014.70
5.3.260.0970.06714.72
5.3.250.1100.05314.59
5.3.240.0970.06314.57
5.3.230.0930.05014.49
5.3.220.0800.06014.44
5.3.210.1000.05314.66
5.3.200.0830.05314.56
5.3.190.0830.05014.56
5.3.180.0870.06014.46
5.3.170.0900.05014.67
5.3.160.0900.05014.55
5.3.150.0800.06314.53
5.3.140.0900.05014.46
5.3.130.0870.05714.48
5.3.120.0900.06014.53
5.3.110.1030.06014.57
5.3.100.0970.05714.13
5.3.90.1100.04314.02
5.3.80.1100.05313.91
5.3.70.1170.05313.98
5.3.60.1130.06313.98
5.3.50.0800.06313.90
5.3.40.0870.07013.84
5.3.30.1130.06313.89
5.3.20.1000.06713.76
5.3.10.1000.06013.57
5.3.00.0900.05713.54
5.2.170.0700.04311.08
5.2.160.0700.04311.20
5.2.150.0770.05011.04
5.2.140.0800.04711.16
5.2.130.0830.03311.10
5.2.120.0770.04011.06
5.2.110.0670.04011.25
5.2.100.0600.05011.13
5.2.90.0630.05011.01
5.2.80.0730.05011.05
5.2.70.0770.04011.12
5.2.60.0830.03310.98
5.2.50.0700.04310.98
5.2.40.0570.04011.14
5.2.30.0600.03710.94
5.2.20.0670.05711.12
5.2.10.0730.04310.89
5.2.00.0830.03710.85
5.1.60.0470.0439.93
5.1.50.0530.04010.03
5.1.40.0600.04310.06
5.1.30.0630.04710.36
5.1.20.0630.04010.32
5.1.10.0700.03010.07
5.1.00.0630.05310.08
5.0.50.0330.0338.57
5.0.40.0330.0408.44
5.0.30.0270.0478.31
5.0.20.0300.0308.26
5.0.10.0270.0308.14
5.0.00.0230.0508.18
4.4.90.0330.0275.88
4.4.80.0300.0335.83
4.4.70.0400.0235.89
4.4.60.0330.0305.93
4.4.50.0300.0305.94
4.4.40.0300.0405.86
4.4.30.0330.0175.86
4.4.20.0400.0235.88
4.4.10.0330.0205.92
4.4.00.0300.0335.89
4.3.110.0330.0235.75
4.3.100.0400.0235.84
4.3.90.0370.0275.83
4.3.80.0330.0375.89
4.3.70.0370.0305.75
4.3.60.0270.0235.82
4.3.50.0230.0275.79
4.3.40.0270.0405.75
4.3.30.0100.0275.01
4.3.20.0270.0175.01
4.3.10.0130.0235.01
4.3.00.0100.0277.07

preferences:
143.55 ms | 1398 KiB | 8 Q