3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Hacker stuff $request_data['auth_token'] = 0; // Your code define("AUTH_TOKEN", "I08L3Xh4507Ieue3zVi3Ny08EcLnUeQz"); if(!isset($request_data['auth_token']) || $request_data['auth_token'] != AUTH_TOKEN) { http_response_code(403); die("Forbidden"); } echo 'Welcome!';

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.00918.15
8.3.50.0120.00918.23
8.3.40.0090.00618.78
8.3.30.0070.01018.80
8.3.20.0080.00018.87
8.3.10.0040.00423.65
8.3.00.0050.00223.70
8.2.180.0160.00318.60
8.2.170.0110.00722.96
8.2.160.0120.00319.45
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00319.89
8.2.120.0050.00326.35
8.2.110.0090.00021.04
8.2.100.0040.00818.03
8.2.90.0070.00018.09
8.2.80.0040.00417.97
8.2.70.0040.00418.04
8.2.60.0050.00218.16
8.2.50.0030.00618.10
8.2.40.0040.00419.51
8.2.30.0080.00020.62
8.2.20.0000.00718.12
8.2.10.0000.00718.10
8.2.00.0030.00519.36
8.1.280.0070.00725.92
8.1.270.0070.00024.66
8.1.260.0030.00526.35
8.1.250.0000.00828.09
8.1.240.0100.00019.01
8.1.230.0030.00720.95
8.1.220.0060.00317.74
8.1.210.0050.00318.85
8.1.200.0000.01117.35
8.1.190.0000.00817.36
8.1.180.0040.00418.10
8.1.170.0040.00418.41
8.1.160.0080.00019.00
8.1.150.0000.00718.79
8.1.140.0000.00718.89
8.1.130.0050.00320.17
8.1.120.0000.01017.40
8.1.110.0060.00317.24
8.1.100.0000.00817.39
8.1.90.0000.00817.36
8.1.80.0040.00417.37
8.1.70.0030.00717.36
8.1.60.0060.00317.55
8.1.50.0000.00717.36
8.1.40.0040.00417.45
8.1.30.0000.00817.57
8.1.20.0050.00517.60
8.1.10.0000.00717.35
8.1.00.0020.00517.46
8.0.300.0030.00520.03
8.0.290.0080.00016.75
8.0.280.0080.00018.38
8.0.270.0000.00817.10
8.0.260.0040.00420.07
8.0.250.0000.00716.79
8.0.240.0060.00016.83
8.0.230.0100.00016.78
8.0.220.0040.00416.90
8.0.210.0000.00716.92
8.0.200.0000.00616.96
8.0.190.0000.00716.97
8.0.180.0050.00216.89
8.0.170.0090.00016.91
8.0.160.0040.00416.88
8.0.150.0040.00416.78
8.0.140.0030.00316.86
8.0.130.0000.00513.40
8.0.120.0030.00616.87
8.0.110.0070.00016.82
8.0.100.0040.00416.85
8.0.90.0030.00317.00
8.0.80.0060.00916.89
8.0.70.0000.00816.77
8.0.60.0000.01016.88
8.0.50.0040.00416.92
8.0.30.0120.00517.07
8.0.20.0050.01317.40
8.0.10.0000.00716.97
8.0.00.0120.00716.80
7.4.330.0000.00515.55
7.4.320.0030.00316.43
7.4.300.0000.00716.45
7.4.290.0100.00016.48
7.4.280.0000.00716.60
7.4.270.0080.00416.41
7.4.260.0030.00316.48
7.4.250.0040.00416.49
7.4.240.0000.00716.59
7.4.230.0070.00016.52
7.4.220.0070.00316.70
7.4.210.0070.01116.61
7.4.200.0000.00716.48
7.4.160.0100.00516.49
7.4.140.0120.01017.86
7.4.130.0120.00616.20
7.4.120.0100.00816.50
7.4.110.0140.00916.47
7.4.100.0070.01016.52
7.4.90.0110.00816.32
7.4.80.0060.01219.39
7.4.70.0110.00816.60
7.4.60.0040.01516.32
7.4.50.0110.00916.30
7.4.40.0100.00716.29
7.4.00.0050.01114.96
7.3.330.0000.00513.09
7.3.320.0060.00013.27
7.3.310.0040.00416.39
7.3.300.0000.00616.25
7.3.290.0030.00316.32
7.3.280.0080.01116.35
7.3.260.0100.01016.33
7.3.240.0110.00716.39
7.3.230.0090.00916.52
7.3.210.0110.00716.61
7.3.200.0100.01116.60
7.3.190.0090.00916.64
7.3.180.0060.01516.65
7.3.170.0150.00316.50
7.3.160.0160.00316.56
7.3.120.0060.01415.06
7.3.110.0020.01414.75
7.3.100.0040.00814.69
7.3.90.0090.00614.43
7.3.80.0030.01014.91
7.3.70.0090.00314.69
7.3.60.0030.00914.78
7.3.50.0000.00914.73
7.3.40.0060.00914.77
7.3.30.0070.00314.46
7.3.20.0030.01116.56
7.3.10.0030.01016.61
7.3.00.0000.01416.75
7.2.330.0100.00716.69
7.2.320.0150.00316.73
7.2.310.0090.00916.53
7.2.300.0030.01316.78
7.2.290.0130.00316.42
7.2.250.0070.01115.00
7.2.240.0030.01514.77
7.2.230.0070.01414.91
7.2.220.0030.01015.34
7.2.210.0060.00914.84
7.2.200.0040.00715.30
7.2.190.0060.00315.25
7.2.180.0030.00915.25
7.2.170.0060.00915.11
7.2.90.1170.00714.49
7.2.80.1480.00814.47
7.2.70.0390.00614.69
7.2.60.0720.00714.85
7.2.50.0430.00615.00
7.2.40.0520.00415.11
7.2.30.1460.00715.02
7.2.20.2360.00515.03
7.2.10.1530.00614.98
7.2.00.1370.00714.72
7.1.330.0030.01215.64
7.1.320.0030.00615.87
7.1.310.0000.00915.58
7.1.300.0030.01015.86
7.1.290.0040.00415.71
7.1.280.0100.00315.71
7.1.270.0040.00415.64
7.1.260.0110.00315.79
7.1.210.1760.00313.39
7.1.200.1380.00813.74
7.1.190.1380.01013.68
7.1.180.0790.00713.58
7.1.170.0320.00913.64
7.1.160.0380.00613.81
7.1.150.0150.00213.78
7.1.140.1720.00613.63
7.1.130.2130.00613.72
7.1.120.1950.00713.66
7.1.110.1810.00513.75
7.1.100.2580.00813.70
7.1.90.3180.00813.55
7.1.80.0950.00713.62
7.1.70.1570.00813.44
7.1.60.4440.00731.71
7.1.50.1980.00231.52
7.1.40.2020.00731.80
7.1.30.2330.01031.44
7.1.20.1740.00831.39
7.1.10.2160.00413.53
7.1.00.1040.00513.70

preferences:
40.84 ms | 400 KiB | 5 Q