3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( reset(array('a', 'b', 'c')) );

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.0130.00718.43
8.3.50.0120.00617.96
8.3.40.0070.00718.62
8.3.30.0140.00318.95
8.3.20.0070.00020.27
8.3.10.0040.00423.48
8.3.00.0030.00619.25
8.2.180.0140.00416.63
8.2.170.0120.00922.96
8.2.160.0070.01020.37
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00022.22
8.2.110.0030.00622.13
8.2.100.0060.00318.68
8.1.270.0060.00322.19
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00318.54
8.1.230.0000.00918.36
5.4.340.0230.06319.11
5.4.320.0270.07319.06
5.4.310.0230.04719.13
5.4.300.0300.06319.18
5.4.290.0270.06319.16
5.4.280.0170.05319.09
5.4.270.0270.04319.08
5.4.260.0200.07719.08
5.4.250.0270.04719.08
5.4.240.0200.07719.13
5.4.230.0230.07319.09
5.4.220.0270.07319.13
5.4.210.0300.04719.09
5.4.200.0270.04718.92
5.4.190.0230.04019.21
5.4.180.0300.05719.12
5.4.170.0170.05019.08
5.4.160.0230.06719.24
5.4.150.0230.05019.22
5.4.140.0230.07016.19
5.4.130.0270.04016.37
5.4.120.0300.07716.33
5.4.110.0270.06716.43
5.4.100.0230.07016.40
5.4.90.0230.07016.41
5.4.80.0270.06716.48
5.4.70.0200.05716.38
5.4.60.0370.05716.04
5.4.50.0270.06316.36
5.4.40.0230.04716.38
5.4.30.0370.03016.01
5.4.20.0230.04316.45
5.4.10.0370.07016.40
5.4.00.0300.06015.70
5.3.290.0230.06014.49
5.3.280.0270.04314.68
5.3.270.0170.05314.55
5.3.260.0200.03714.48
5.3.250.0230.07314.69
5.3.240.0270.07014.46
5.3.230.0270.04714.55
5.3.220.0200.05714.61
5.3.210.0200.06014.46
5.3.200.0100.05714.43
5.3.190.0170.07014.47
5.3.180.0200.04314.51
5.3.170.0170.08014.62
5.3.160.0270.05714.39
5.3.150.0230.06714.46
5.3.140.0130.07014.53
5.3.130.0270.04014.38
5.3.120.0270.04714.39
5.3.110.0200.05714.64
5.3.100.0270.05013.91
5.3.90.0230.05713.96
5.3.80.0300.04013.79
5.3.70.0270.03714.10
5.3.60.0230.05713.91
5.3.50.0300.04313.73
5.3.40.0200.06013.78
5.3.30.0270.07313.93
5.3.20.0300.05713.46
5.3.10.0230.06013.60
5.3.00.0130.04013.49
5.2.170.0230.05712.13
5.2.160.0200.05312.13
5.2.150.0230.04012.13
5.2.140.0300.05312.13
5.2.130.0170.03012.13
5.2.120.0100.03312.13
5.2.110.0170.04712.13
5.2.100.0170.02712.13
5.2.90.0230.02012.13
5.2.80.0070.03712.13
5.2.70.0170.02712.13
5.2.60.0130.03012.13
5.2.50.0100.03012.13
5.2.40.0130.02312.13
5.2.30.0030.03312.13
5.2.20.0070.03312.13
5.2.10.0130.02312.13
5.2.00.0100.02712.13
5.1.60.0100.02012.13
5.1.50.0070.02712.13
5.1.40.0100.02312.13
5.1.30.0170.02712.13
5.1.20.0170.02012.13
5.1.10.0130.02312.13
5.1.00.0030.03012.13
5.0.50.0100.01712.13
5.0.40.0070.01712.13
5.0.30.0070.02712.13
5.0.20.0000.02312.13
5.0.10.0030.02012.13
5.0.00.0000.03312.13
4.4.90.0030.01712.13
4.4.80.0030.01712.13
4.4.70.0030.01712.13
4.4.60.0030.01712.13
4.4.50.0070.01312.13
4.4.40.0070.02012.13
4.4.30.0100.01012.13
4.4.20.0030.01712.13
4.4.10.0070.01712.13
4.4.00.0030.02712.13
4.3.110.0070.01712.13
4.3.100.0030.01712.13
4.3.90.0070.01312.13
4.3.80.0000.02712.13
4.3.70.0030.01712.13
4.3.60.0070.01312.13
4.3.50.0070.01312.13
4.3.40.0070.02312.13
4.3.30.0030.01312.13
4.3.20.0030.03712.13
4.3.10.0030.02012.13
4.3.00.0030.01712.13

preferences:
39.67 ms | 400 KiB | 5 Q