3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ☺(){ return range(0, 100000); } function ☻(){ return ☺(); } (☺()); print_r(☻());

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.0200.00321.59
8.3.50.0130.01624.85
8.3.40.0190.00923.68
8.3.30.0100.01423.79
8.3.20.0060.00625.34
8.3.10.0080.00825.31
8.3.00.0050.00523.09
8.2.180.0250.01521.36
8.2.170.0100.01323.80
8.2.160.0140.01425.37
8.2.150.0090.00324.18
8.2.140.0120.00024.66
8.2.130.0030.00626.35
8.2.120.0060.00624.62
8.2.110.0030.01325.46
8.2.100.0150.00323.13
8.2.90.0100.00324.12
8.2.80.0070.00722.40
8.2.70.0060.00622.40
8.2.60.0040.00822.84
8.2.50.0070.00722.53
8.2.40.0030.01023.10
8.2.30.0130.00024.41
8.2.20.0080.00422.49
8.2.10.0040.00823.00
8.2.00.0000.01422.60
8.1.280.0140.01125.92
8.1.270.0070.00329.93
8.1.260.0100.00326.94
8.1.250.0100.00328.75
8.1.240.0040.01427.51
8.1.230.0070.01424.38
8.1.220.0100.00323.96
8.1.210.0080.00823.66
8.1.200.0090.00623.66
8.1.190.0070.00723.66
8.1.180.0110.00323.66
8.1.170.0090.00625.02
8.1.160.0110.00428.64
8.1.150.0090.00625.27
8.1.140.0030.01223.91
8.1.130.0060.00624.35
8.1.120.0140.00023.85
8.1.110.0110.00323.91
8.1.100.0060.00623.96
8.1.90.0030.01023.93
8.1.80.0070.00723.84
8.1.70.0030.00923.93
8.1.60.0030.01424.07
8.1.50.0030.01324.04
8.1.40.0070.01024.07
8.1.30.0070.01023.98
8.1.20.0030.01323.98
8.1.10.0030.01224.02
8.1.00.0080.00823.78
8.0.300.0060.00923.30
8.0.290.0070.00723.07
8.0.280.0070.00724.83
8.0.270.0100.00323.57
8.0.260.0000.01323.44
8.0.250.0060.00623.21
8.0.240.0060.00623.25
8.0.230.0030.01023.23
8.0.220.0070.00723.13
8.0.210.0030.01023.14
8.0.200.0030.00923.28
8.0.190.0170.00023.28
8.0.180.0090.00623.27
8.0.170.0030.01223.20
8.0.160.0030.01223.18
8.0.150.0070.00723.08
8.0.140.0120.00423.15
8.0.130.0030.01019.68
8.0.120.0080.00823.09
8.0.110.0030.01223.05
8.0.100.0120.00423.17
8.0.90.0000.01423.06
8.0.80.0170.01723.16
8.0.70.0030.01223.23
8.0.60.0060.00923.25
8.0.50.0000.01523.07
8.0.30.0180.01823.29
8.0.20.0310.01823.23
8.0.10.0070.00723.18
8.0.00.0180.02123.06
7.4.330.0070.00320.95
7.4.320.0090.00322.83
7.4.300.0000.01222.70
7.4.290.0040.01122.98
7.4.280.0090.00622.91
7.4.270.0040.01422.95
7.4.260.0100.01022.91
7.4.250.0060.00922.72
7.4.240.0060.00922.91
7.4.230.0070.00722.91
7.4.220.0230.01522.80
7.4.210.0100.01822.88
7.4.200.0060.00922.63
7.4.160.0120.01822.88
7.4.150.0150.01822.73
7.4.140.0230.01622.82
7.4.130.0100.02022.87
7.4.120.0140.01822.77
7.4.110.0200.01022.75
7.4.100.0070.02622.72
7.4.90.0130.01922.98
7.4.80.0210.01522.95
7.4.70.0150.01522.92
7.4.60.0190.01522.82
7.4.50.0060.01222.58
7.4.40.0130.01622.86
7.4.30.0210.00722.93
7.4.00.0150.01121.18
7.3.330.0030.01119.63
7.3.320.0070.00719.84
7.3.310.0040.01122.69
7.3.300.0050.00922.57
7.3.290.0160.01622.69
7.3.280.0190.01622.60
7.3.270.0210.01422.92
7.3.260.0190.01122.72
7.3.250.0190.01122.71
7.3.240.0190.01322.56
7.3.230.0160.01522.84
7.3.210.0130.01922.71
7.3.200.0170.01422.97
7.3.190.0210.01022.71
7.3.180.0120.01922.70
7.3.170.0100.02022.67
7.3.160.0170.01422.62
7.3.10.0220.00922.64
7.3.00.0100.01622.59
7.2.330.0180.01523.05
7.2.320.0200.01023.05
7.2.310.0270.00322.97
7.2.300.0170.02423.04
7.2.290.0130.01923.04
7.2.130.0200.01322.68
7.2.120.0230.00622.45
7.2.110.0100.02022.34
7.2.100.0120.01222.50
7.2.90.0070.01822.49
7.2.80.0170.01722.39
7.2.70.0030.01722.84
7.2.60.0170.01022.66
7.2.50.0140.01422.70
7.2.40.0180.01122.64
7.2.30.0180.01122.71
7.2.20.0210.01122.46
7.2.10.0120.01922.53
7.2.00.0250.01523.96
7.1.250.0040.01921.46
7.1.100.0030.01224.16
7.1.70.0000.01222.68
7.1.60.0070.02423.35
7.1.50.0040.01122.95
7.0.200.0850.00317.72

preferences:
49.84 ms | 401 KiB | 5 Q