3v4l.org

run code in 300+ PHP versions simultaneously
<?php function auto($c) { echo $c,'...<br>'; } spl_autoload_register('auto'); $x = "/etc/passwd\0"; new $x();

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.80.0090.00317.97
8.3.70.0140.00416.70
8.3.60.0140.00018.43
8.3.50.0100.01022.11
8.3.40.0070.00718.83
8.3.30.0000.02019.25
8.3.20.0080.00020.03
8.3.10.0080.00022.10
8.3.00.0070.00422.51
8.2.200.0060.00318.66
8.2.190.0040.01116.80
8.2.180.0120.00916.63
8.2.170.0140.00322.96
8.2.160.0070.01420.77
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00019.25
8.2.110.0030.00622.30
8.2.100.0130.00019.45
8.2.90.0030.00519.02
8.2.80.0090.00017.97
8.2.70.0000.00817.50
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0060.00318.22
8.2.30.0000.00718.03
8.2.20.0040.00417.53
8.2.10.0030.00517.72
8.2.00.0000.00717.73
8.1.290.0000.00930.84
8.1.280.0140.00725.92
8.1.270.0070.00322.19
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.96
8.1.230.0080.00419.10
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00417.35
8.1.190.0040.00417.41
8.1.180.0090.00018.50
8.1.170.0040.00418.33
8.1.160.0070.00021.89
8.1.150.0080.00018.58
8.1.140.0000.00917.33
8.1.130.0070.00017.80
8.1.120.0000.00717.28
8.1.110.0060.00317.36
8.1.100.0070.00017.30
8.1.90.0000.00717.39
8.1.80.0000.00717.41
8.1.70.0030.00317.38
8.1.60.0040.00417.41
8.1.50.0030.00717.54
8.1.40.0100.00017.54
8.1.30.0040.00417.63
8.1.20.0000.00817.57
8.1.10.0040.00417.59
8.1.00.0040.00417.52
8.0.300.0040.00318.77
8.0.290.0080.00017.18
8.0.280.0000.00818.30
8.0.270.0040.00416.75
8.0.260.0000.00616.73
8.0.250.0030.00317.00
8.0.240.0000.00716.96
8.0.230.0030.00616.85
8.0.220.0030.00316.88
8.0.210.0030.00316.77
8.0.200.0050.00516.82
8.0.190.0070.00016.93
8.0.180.0000.00716.80
8.0.170.0040.00416.88
8.0.160.0030.00516.92
8.0.150.0000.00816.88
8.0.140.0060.00316.75
8.0.130.0000.00613.20
8.0.120.0080.00016.83
8.0.110.0070.00016.91
8.0.100.0040.00417.00
8.0.90.0000.00716.82
8.0.80.0150.00016.94
8.0.70.0000.00716.69
8.0.60.0040.00416.77
8.0.50.0000.00816.78
8.0.30.0130.00616.99
8.0.20.0080.00917.40
8.0.10.0000.00716.90
8.0.00.0100.00816.54
7.4.330.0060.00015.00
7.4.320.0030.00316.55
7.4.300.0030.00316.51
7.4.290.0030.00316.54
7.4.280.0080.00016.40
7.4.270.0040.00416.59
7.4.260.0000.00513.26
7.4.250.0040.00416.47
7.4.240.0050.00216.49
7.4.230.0040.00416.56
7.4.220.0030.01516.61
7.4.210.0060.00916.62
7.4.200.0030.00416.63
7.4.190.0030.00316.46
7.4.160.0110.00416.36
7.4.150.0150.00317.40
7.4.140.0090.00917.86
7.4.130.0050.01116.53
7.4.120.0090.00816.48
7.4.110.0120.00616.66
7.4.100.0140.00316.63
7.4.90.0070.01116.63
7.4.80.0130.00319.39
7.4.70.0130.00316.34
7.4.60.0100.00616.46
7.4.50.0040.00416.35
7.4.40.0070.01022.77
7.4.30.0080.00916.45
7.4.00.0110.00415.04
7.3.330.0000.00613.36
7.3.320.0030.00313.38
7.3.310.0000.00716.36
7.3.300.0060.00016.25
7.3.290.0060.00716.41
7.3.280.0060.01116.34
7.3.270.0150.00417.40
7.3.260.0030.01516.58
7.3.250.0050.01516.37
7.3.240.0030.01516.21
7.3.230.0060.01216.63
7.3.210.0000.01816.38
7.3.200.0090.00619.39
7.3.190.0100.00716.37
7.3.180.0070.01416.41
7.3.170.0130.00316.27
7.3.160.0040.01716.45
7.3.120.0040.01114.72
7.3.110.0070.00714.78
7.3.100.0070.01014.69
7.3.90.0030.01414.66
7.3.80.0080.00314.67
7.3.70.0040.01114.76
7.3.60.0100.00314.85
7.3.50.0030.01014.46
7.3.40.0040.01414.85
7.3.30.0060.00614.76
7.3.20.0030.00916.62
7.3.10.0080.00616.59
7.3.00.0060.00516.58
7.2.330.0160.00316.58
7.2.320.0110.00716.52
7.2.310.0070.01016.68
7.2.300.0120.00616.34
7.2.290.0070.01016.61
7.2.240.0070.01015.03
7.2.230.0130.00314.98
7.2.220.0060.00614.71
7.2.210.0030.01314.45
7.2.200.0090.00314.83
7.2.190.0060.01014.79
7.2.180.0110.00714.76
7.2.170.0030.01414.39
7.2.160.0060.01014.97
7.2.150.0070.01016.78
7.2.140.0000.01616.31
7.2.130.0050.00816.72
7.2.120.0030.00816.70
7.2.110.0050.00516.61
7.2.100.0090.00716.59
7.2.90.0080.00616.76
7.2.80.0020.01016.81
7.2.70.0080.01016.67
7.2.60.0070.00716.78
7.2.50.0100.00816.65
7.2.40.0080.00616.81
7.2.30.0030.00916.61
7.2.20.0080.00716.69
7.2.10.0050.00616.35
7.2.00.0040.00717.69
7.1.330.0040.00815.51
7.1.320.0030.01315.55
7.1.310.0030.01315.39
7.1.300.0070.01015.51
7.1.290.0110.00815.68
7.1.280.0000.01615.80
7.1.270.0100.00015.69
7.1.260.0060.00615.42
7.1.250.0070.00615.71
7.1.200.0140.00715.86
7.1.70.0000.00716.87
7.1.60.0100.00017.05
7.1.50.0100.01016.96
7.1.00.0070.07322.48
7.0.200.0030.01016.67
7.0.140.0000.08022.21
7.0.60.0070.06019.84
7.0.50.0030.06017.84
7.0.40.0030.05720.11
7.0.30.0200.04020.25
7.0.20.0300.07320.05
7.0.10.0070.06020.30
7.0.00.0100.08320.06
5.6.280.0000.07721.05
5.6.210.0000.09320.51
5.6.200.0100.03718.16
5.6.190.0130.08320.61
5.6.180.3230.03720.61
5.6.170.0200.04720.54
5.6.160.0070.07720.48
5.6.150.0100.08018.28
5.6.140.0030.08018.18
5.6.130.0070.07018.16
5.6.120.0030.05021.00
5.6.110.0130.07320.96
5.6.100.0030.04020.96
5.6.90.0100.07721.04
5.6.80.0030.04020.38
5.6.70.4230.03320.40
5.5.350.0200.05020.32
5.5.340.0130.07718.02
5.5.330.0030.05020.27
5.5.320.0270.04020.51
5.5.310.0330.07020.51
5.5.300.0000.04317.98
5.5.290.0130.08017.98
5.5.280.0070.03720.65
5.5.270.0070.04020.80
5.5.260.0100.08020.79
5.5.250.0170.07320.65
5.5.240.0170.04320.13
5.4.450.0700.04719.27
5.4.440.0470.05019.52
5.4.430.0800.03719.18
5.4.420.0270.04319.49
5.4.410.0630.04019.25
5.4.400.0630.03319.23
5.4.390.0400.04019.22
5.4.380.0770.04019.32
5.4.370.0870.03719.04
5.4.360.0400.04719.17
5.4.350.0400.04019.22
5.4.340.0670.03319.00
5.4.320.0730.04018.95
5.4.310.0570.03719.07
5.4.300.0830.03319.22
5.4.290.0600.04719.13
5.4.280.0900.03718.94
5.4.270.0270.05018.99
5.4.260.0670.03019.21
5.4.250.0200.03019.05
5.4.240.0600.03319.19
5.4.230.0830.03319.12
5.4.220.0570.04719.22
5.4.210.0500.04018.95
5.4.200.0770.03319.13
5.4.190.0370.03719.12
5.4.180.1070.03318.82
5.4.170.0800.02718.93
5.4.160.0430.04319.04
5.4.150.0700.04018.98
5.4.140.0230.04016.35
5.4.130.0700.03716.33
5.4.120.0170.04316.51
5.4.110.0770.03316.27
5.4.100.0830.03716.51
5.4.90.0500.04016.56
5.4.80.0800.03716.53
5.4.70.0530.04316.36
5.4.60.0430.03716.56
5.4.50.0430.03316.41
5.4.40.0830.03316.33
5.4.30.0670.02716.51
5.4.20.0770.04316.41
5.4.10.0700.02716.24
5.4.00.0500.03716.00
5.3.290.0570.04316.01
5.3.280.0630.04016.01
5.3.270.0730.03716.01
5.3.260.0800.04016.01
5.3.250.0300.03016.01
5.3.240.1130.02716.01
5.3.230.0570.04016.01
5.3.220.0770.05716.01
5.3.210.0670.04016.01
5.3.200.0900.03316.01
5.3.190.0600.03716.01
5.3.180.0900.03716.01
5.3.170.0400.03716.00
5.3.160.0830.03316.00
5.3.150.0830.04016.00
5.3.140.0870.03016.00
5.3.130.0000.04016.00
5.3.120.0270.03716.00
5.3.110.0800.04016.00
5.3.100.0670.04016.00
5.3.90.0770.04016.00
5.3.80.0570.04716.00
5.3.70.0400.04016.00
5.3.60.0530.03016.00
5.3.50.0600.02716.00
5.3.40.0300.04016.00
5.3.30.0530.03316.00
5.3.20.0730.03716.00
5.3.10.0130.02016.00
5.3.00.0530.03715.99

preferences:
29.79 ms | 401 KiB | 5 Q