3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump([] + 1); var_dump(pow(1,[])); var_dump(pow([],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)
8.3.60.0110.00718.45
8.3.50.0100.00817.33
8.3.40.0100.01018.83
8.3.30.0000.01418.71
8.3.20.0120.00318.60
8.3.10.0050.00320.61
8.3.00.0000.00819.50
8.2.180.0090.01316.63
8.2.170.0060.00922.96
8.2.160.0070.00721.07
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0050.00518.80
8.2.110.0030.00622.19
8.2.100.0000.01018.91
8.1.280.0150.00325.92
8.1.270.0030.00524.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00418.39
8.1.230.0030.00618.53
5.5.90.0000.04317.12
5.5.80.0100.07017.15
5.5.70.0030.05017.20
5.5.60.0100.03317.16
5.5.50.0130.06017.13
5.5.40.0100.04717.22
5.5.30.0170.06717.22
5.5.20.0070.04017.17
5.5.10.0070.08017.15
5.5.00.0100.07317.12
5.4.250.0100.04018.91
5.4.240.0100.05319.11
5.4.230.0130.06318.98
5.4.220.0070.08018.88
5.4.210.0130.05018.98
5.4.200.0100.06018.96
5.4.190.0070.08018.97
5.4.180.0070.03718.97
5.4.170.0000.06018.98
5.4.160.0070.07018.80
5.4.150.0130.07018.97
5.4.140.0100.07316.17
5.4.130.0100.06316.27
5.4.120.0000.04316.28
5.4.110.0000.08316.37
5.4.100.0100.07316.28
5.4.90.0100.07316.29
5.4.80.0000.07716.27
5.4.70.0000.05016.51
5.4.60.0100.07316.39
5.4.50.0000.08316.34
5.4.40.0070.05716.30
5.4.30.0030.04016.49
5.4.20.0030.07716.38
5.4.10.0070.07316.26
5.4.00.0170.05315.72
5.3.280.0030.04714.54
5.3.270.0200.04714.60
5.3.260.0100.07314.55
5.3.250.0000.06314.45
5.3.240.0130.05714.57
5.3.230.0030.06314.52
5.3.220.0000.04014.52
5.3.210.0070.08014.52
5.3.200.0100.06314.48
5.3.190.0130.07314.53
5.3.180.0000.08014.50
5.3.170.0070.06314.42
5.3.160.0030.08314.54
5.3.150.0100.07014.52
5.3.140.0100.07014.49
5.3.130.0070.04314.46
5.3.120.0130.05014.54
5.3.110.0070.05014.46
5.3.100.0170.03313.95
5.3.90.0070.07713.98
5.3.80.0070.07713.97
5.3.70.0070.07713.98
5.3.60.0100.05313.76
5.3.50.0000.05313.89
5.3.40.0030.04313.92
5.3.30.0030.07713.88
5.3.20.0130.06313.68
5.3.10.0070.03713.41
5.3.00.0100.07313.39
5.2.170.0000.06311.12
5.2.160.0070.05710.93
5.2.150.0070.06010.98
5.2.140.0170.05711.12
5.2.130.0070.05010.88
5.2.120.0070.06011.05
5.2.110.0070.03011.13
5.2.100.0100.06011.06
5.2.90.0030.06011.23
5.2.80.0030.06011.02
5.2.70.0000.05711.11
5.2.60.0070.03011.03
5.2.50.0030.03011.00
5.2.40.0000.03710.82
5.2.30.0030.03711.00
5.2.20.0100.05710.93
5.2.10.0070.03310.88
5.2.00.0030.04010.57
5.1.60.0030.04710.06
5.1.50.0030.03010.05
5.1.40.0000.0439.90
5.1.30.0100.05010.34
5.1.20.0030.05710.33
5.1.10.0130.03310.00
5.1.00.0000.03710.10
5.0.50.0100.0408.47
5.0.40.0030.0378.34
5.0.30.0000.0478.23
5.0.20.0000.0238.23
5.0.10.0000.0208.23
5.0.00.0000.0338.35
4.4.90.0070.0338.23
4.4.80.0000.0178.23
4.4.70.0070.0308.23
4.4.60.0000.0308.23
4.4.50.0030.0208.23
4.4.40.0030.0378.23
4.4.30.0000.0308.23
4.4.20.0030.0278.23
4.4.10.0000.0238.23
4.4.00.0030.0578.23
4.3.110.0000.0308.23
4.3.100.0000.0378.23
4.3.90.0030.0178.23
4.3.80.0030.0238.23
4.3.70.0030.0178.23
4.3.60.0000.0178.23
4.3.50.0030.0138.23
4.3.40.0000.0578.23
4.3.30.0030.0378.23
4.3.20.0030.0278.23
4.3.10.0000.0238.23
4.3.00.0000.0178.23

preferences:
35.76 ms | 401 KiB | 5 Q