3v4l.org

run code in 300+ PHP versions simultaneously
<?php //This is only presentation of the logic, isn't supposed to be 'safe', isn't supposed to even work //this is the index.php file $script = parseSomehow($_SERVER["REQUEST_URI"]);//the request url //might be 'home' or 'contact': require_once($script.'.php'); //home.php file: echo 'Hi! This is homepage'; //contact.php file: echo "to contact us, send mail to...";

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.0140.00316.75
8.3.50.0100.00716.50
8.3.40.0070.00718.85
8.3.30.0110.00418.43
8.3.20.0070.00020.21
8.3.10.0040.00423.65
8.3.00.0080.00019.56
8.2.180.0120.00618.29
8.2.170.0160.00022.96
8.2.160.0100.00719.07
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00819.31
8.2.120.0040.00426.35
8.2.110.0030.00620.53
8.2.100.0090.00317.78
8.2.90.0000.00817.84
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0070.00018.04
8.2.50.0040.00418.07
8.2.40.0070.00317.73
8.2.30.0000.00817.87
8.2.20.0030.00517.97
8.2.10.0080.00018.05
8.2.00.0030.00517.86
8.1.280.0150.00725.92
8.1.270.0070.00023.83
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00622.47
8.1.230.0110.00021.08
8.1.220.0080.00017.74
8.1.210.0090.00018.81
8.1.200.0030.00617.13
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0040.00418.82
8.1.150.0000.00818.69
8.1.140.0040.00419.48
8.1.130.0070.00018.75
8.1.120.0030.00317.23
8.1.110.0050.00317.28
8.1.100.0040.00417.35
8.1.90.0040.00417.36
8.1.80.0030.00517.34
8.1.70.0040.00417.21
8.1.60.0000.00817.49
8.1.50.0050.00317.45
8.1.40.0000.00717.27
8.1.30.0000.00817.59
8.1.20.0000.01117.45
8.1.10.0000.00817.52
8.1.00.0040.00417.45
8.0.300.0030.00319.90
8.0.290.0090.00016.63
8.0.280.0030.00318.44
8.0.270.0030.00317.19
8.0.260.0030.00316.81
8.0.250.0070.00016.96
8.0.240.0040.00417.01
8.0.230.0000.00716.96
8.0.220.0030.00316.81
8.0.210.0050.00216.77
8.0.200.0000.00616.89
8.0.190.0030.00616.84
8.0.180.0000.00816.91
8.0.170.0040.00416.81
8.0.160.0080.00316.85
8.0.150.0040.00416.70
8.0.140.0070.00016.88
8.0.130.0060.00013.30
8.0.120.0050.00316.82
8.0.110.0000.00716.79
8.0.100.0030.00316.73
8.0.90.0030.00516.66
8.0.80.0090.00616.80
8.0.70.0050.00216.95
8.0.60.0070.00016.70
8.0.50.0000.00716.89
8.0.30.0110.00716.95
8.0.20.0080.01117.40
8.0.10.0000.00816.82
8.0.00.0100.00716.86
7.4.330.0060.00015.55
7.4.320.0000.00616.38
7.4.300.0060.00016.34
7.4.290.0030.00516.53
7.4.280.0050.00516.48
7.4.270.0040.00416.45
7.4.260.0020.00516.32
7.4.250.0000.00716.45
7.4.240.0040.00416.46
7.4.230.0070.00016.34
7.4.220.0140.00316.56
7.4.210.0060.01016.39
7.4.200.0030.00316.23
7.4.160.0120.00516.42
7.4.150.0030.01417.40
7.4.140.0070.01217.86
7.4.130.0090.00916.48
7.4.120.0080.00916.52
7.4.110.0060.01316.34
7.4.100.0140.00716.41
7.4.90.0130.00416.40
7.4.80.0090.00819.39
7.4.70.0120.00916.56
7.4.60.0060.00916.33
7.4.50.0090.00616.52
7.4.40.0110.00516.50
7.4.30.0090.00916.44
7.4.00.0060.00915.04
7.3.330.0050.00013.17
7.3.320.0050.00013.05
7.3.310.0030.00316.25
7.3.300.0000.00616.16
7.3.290.0080.00716.22
7.3.280.0060.00816.25
7.3.270.0100.00717.40
7.3.260.0140.00316.35
7.3.250.0040.01416.36
7.3.240.0120.00916.25
7.3.230.0060.01016.29
7.3.210.0070.00716.30
7.3.200.0160.00916.25
7.3.190.0090.00616.23
7.3.180.0070.01016.38
7.3.170.0060.00916.23
7.3.160.0060.01216.49
7.3.120.0050.01414.63
7.3.110.0090.00914.59
7.3.100.0040.01114.85
7.3.90.0080.00714.64
7.3.80.0020.00914.71
7.3.70.0050.00514.68
7.3.60.0100.00114.61
7.3.50.0030.01214.65
7.3.40.0090.00714.68
7.3.30.0040.00814.81
7.3.20.0070.00716.35
7.3.10.0050.01216.38
7.3.00.0100.00416.56
7.2.330.0070.01116.52
7.2.320.0100.00716.36
7.2.310.0060.01016.45
7.2.300.0110.00716.31
7.2.290.0130.01216.55
7.2.250.0090.00814.70
7.2.240.0110.00915.04
7.2.230.0050.01114.98
7.2.220.0110.00714.78
7.2.210.0060.00714.77
7.2.200.0080.00514.67
7.2.190.0060.01014.69
7.2.180.0050.00714.79
7.2.170.0080.00214.83
7.2.160.0110.00314.58
7.2.150.0070.00716.69
7.2.140.0080.00516.67
7.2.130.0070.01016.47
7.2.120.0040.01116.64
7.2.110.0040.00816.76
7.2.100.0110.00416.58
7.2.90.0120.00016.77
7.2.80.0070.00716.75
7.2.70.0070.01116.63
7.2.60.0480.01015.90
7.2.50.0030.01216.89
7.2.40.0030.01016.60
7.2.30.0060.00616.77
7.2.20.0060.00316.58
7.2.10.0070.00716.89
7.2.00.0040.00618.01
7.1.330.0070.00915.59
7.1.320.0080.00915.53
7.1.310.0030.01015.80
7.1.300.0060.00615.56
7.1.290.0030.00915.53
7.1.280.0030.00915.45
7.1.270.0030.00815.53
7.1.260.0080.00515.62
7.1.250.0030.00615.62
7.1.240.0110.00315.66
7.1.230.0090.00615.47
7.1.220.0030.01015.55
7.1.210.0030.00615.59
7.1.200.0050.00815.50
7.1.190.0000.01815.50
7.1.180.0060.01215.67
7.1.170.0100.00315.51
7.1.160.0130.00015.49
7.1.150.0070.00715.77
7.1.140.0030.00815.63
7.1.130.0070.00715.55
7.1.120.0060.00915.72
7.1.110.0040.01215.34
7.1.100.0060.00516.84
7.1.90.0000.01515.37
7.1.80.0000.01015.63
7.1.70.0130.00715.56
7.1.60.0270.00924.28
7.1.50.0290.01124.26
7.1.40.0230.00823.92
7.1.30.0200.01324.05
7.1.20.0200.01424.15
7.1.10.0140.00815.14
7.1.00.0110.00715.11
7.0.330.0060.00915.21
7.0.320.0100.00715.43
7.0.310.0100.00015.16
7.0.300.0140.00315.34
7.0.290.0000.01215.24
7.0.280.0030.01015.12
7.0.270.0030.01015.23
7.0.260.0000.01515.43
7.0.250.0030.01315.52
7.0.240.0070.00715.37
7.0.230.0030.00615.26
7.0.220.0000.01515.14
7.0.210.0080.00615.08
7.0.200.0160.00815.10
7.0.190.0120.01215.06
7.0.180.0110.01214.64
7.0.170.0150.00714.96
7.0.160.0130.00814.82
7.0.150.0190.00614.86
7.0.140.0160.01014.86
7.0.130.0490.00714.96
7.0.120.0130.01115.01
7.0.110.0170.00914.82
7.0.100.0140.01514.87
7.0.90.0170.01314.70
7.0.80.0180.00914.86
7.0.70.0190.01014.79
7.0.60.0170.01014.82
7.0.50.0100.01014.74
7.0.40.0110.01214.01
7.0.30.0110.01213.94
7.0.20.0140.01313.78
7.0.10.0170.00913.85
7.0.00.0100.01414.01
5.6.400.0030.00614.27
5.6.390.0070.00714.13
5.6.380.0090.00614.07
5.6.370.0000.00814.02
5.6.360.0090.00313.97
5.6.350.0040.01114.36
5.6.340.0110.00314.21
5.6.330.0090.00614.36
5.6.320.0030.00513.95
5.6.310.0060.01014.42
5.6.300.0000.01614.02
5.6.290.0120.00314.41
5.6.280.0090.00614.01
5.6.270.0100.00614.25
5.6.260.0070.00714.14
5.6.250.0000.01114.21
5.6.240.0030.00614.05
5.6.230.0030.01014.12
5.6.220.0000.01414.37
5.6.210.0070.00714.21
5.6.200.0040.00413.78
5.6.190.0030.01014.38
5.6.180.0090.00613.82
5.6.170.0050.00513.88
5.6.160.0080.00414.16
5.6.150.0070.00714.11
5.6.140.0090.00314.18
5.6.130.0030.00914.12
5.6.120.0040.00813.93
5.6.110.0070.00413.89
5.6.100.0030.00914.10
5.6.90.0030.01014.07
5.6.80.0070.01013.97
5.6.70.0040.00414.02
5.6.60.0040.01114.20
5.6.50.0110.00313.88
5.6.40.0100.00313.85
5.6.30.0080.00813.83
5.6.20.0040.00714.09
5.6.10.0040.01113.93
5.6.00.0030.00613.96

preferences:
34.3 ms | 400 KiB | 5 Q