3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_agent = $_SERVER['HTTP_USER_AGENT']; //user browser $ip_address = $_SERVER["REMOTE_ADDR"]; // user ip adderss $page_name = $_SERVER["SCRIPT_NAME"]; // page the user looking $query_string = $_SERVER["QUERY_STRING"]; // what query he used $current_page = $page_name."?".$query_string; ?>

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.0030.01216.75
8.3.50.0100.00822.04
8.3.40.0140.00018.89
8.3.30.0080.00619.09
8.3.20.0040.00420.35
8.3.10.0050.00323.58
8.3.00.0100.00019.23
8.2.180.0110.00718.31
8.2.170.0100.00322.96
8.2.160.0090.00620.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0090.00022.09
8.2.110.0090.00021.05
8.2.100.0120.00017.84
8.2.90.0040.00719.29
8.2.80.0070.00317.97
8.2.70.0030.00617.75
8.2.60.0060.00318.03
8.2.50.0090.00018.10
8.2.40.0060.00320.06
8.2.30.0040.00418.13
8.2.20.0040.00417.83
8.2.10.0040.00418.14
8.2.00.0000.00717.88
8.1.280.0040.01125.92
8.1.270.0040.00423.83
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00723.98
8.1.230.0070.00417.77
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0090.00018.46
8.1.160.0000.00722.04
8.1.150.0070.00018.63
8.1.140.0000.00817.46
8.1.130.0030.00317.79
8.1.120.0040.00417.51
8.1.110.0070.00017.48
8.1.100.0050.00217.41
8.1.90.0000.00917.34
8.1.80.0050.00217.48
8.1.70.0030.00317.42
8.1.60.0000.00817.50
8.1.50.0030.00517.58
8.1.40.0040.00417.53
8.1.30.0080.00017.59
8.1.20.0000.00817.54
8.1.10.0040.00417.52
8.1.00.0000.00817.50
8.0.300.0030.00618.77
8.0.290.0070.00016.63
8.0.280.0070.00018.45
8.0.270.0000.00617.18
8.0.260.0000.00617.14
8.0.250.0000.00617.05
8.0.240.0080.00017.04
8.0.230.0000.00616.91
8.0.220.0040.00416.93
8.0.210.0030.00316.90
8.0.200.0060.00016.98
8.0.190.0080.00016.91
8.0.180.0000.00716.99
8.0.170.0040.00416.94
8.0.160.0030.00416.90
8.0.150.0000.00716.79
8.0.140.0000.01116.85
8.0.130.0040.00413.40
8.0.120.0000.00716.92
8.0.110.0000.00716.93
8.0.100.0000.00817.03
8.0.90.0040.00416.91
8.0.80.0040.01116.89
8.0.70.0080.00016.81
8.0.60.0050.00316.88
8.0.50.0040.00417.03
8.0.30.0120.00916.98
8.0.20.0100.01017.40
8.0.10.0040.00417.13
8.0.00.0100.00816.66
7.4.330.0050.00015.15
7.4.320.0030.00316.61
7.4.300.0000.00716.52
7.4.290.0070.00016.53
7.4.280.0000.01116.45
7.4.270.0000.00816.66
7.4.260.0000.00716.50
7.4.250.0050.00316.59
7.4.240.0020.00516.62
7.4.230.0000.00716.41
7.4.220.0090.00916.50
7.4.210.0060.00816.56
7.4.200.0030.00316.51
7.4.190.0070.00016.50
7.4.160.0140.00716.50
7.4.150.0030.01417.40
7.4.140.0100.00717.86
7.4.130.0070.01216.57
7.4.120.0100.01116.72
7.4.110.0180.00316.69
7.4.100.0170.00316.66
7.4.90.0070.01316.58
7.4.80.0090.00919.39
7.4.70.0120.00916.59
7.4.60.0130.00316.32
7.4.50.0040.00016.37
7.4.40.0060.00916.37
7.4.30.0130.00316.50
7.4.00.0090.00614.93
7.3.330.0050.00013.17
7.3.320.0050.00013.17
7.3.310.0050.00216.47
7.3.300.0060.00016.22
7.3.290.0090.01016.32
7.3.280.0090.00916.32
7.3.270.0180.00017.40
7.3.260.0040.01316.41
7.3.250.0080.01116.49
7.3.240.0120.00916.36
7.3.230.0160.00816.43
7.3.210.0070.01316.58
7.3.200.0120.01119.39
7.3.190.0080.01116.50
7.3.180.0130.00316.41
7.3.170.0050.01016.44
7.3.160.0120.00316.52
7.3.120.0000.01014.90
7.2.330.0110.00716.65
7.2.320.0050.01216.65
7.2.310.0090.00916.44
7.2.300.0100.00716.62
7.2.290.0090.00916.77
7.2.00.0030.00619.40
7.1.100.0000.00818.12
7.1.70.0000.00717.12
7.1.60.0140.01119.46
7.1.50.0040.01116.92
7.1.00.0000.07722.30
7.0.200.0000.00716.84
7.0.140.0100.06321.95
7.0.60.0000.09019.84
7.0.50.0030.07317.84
7.0.40.0030.04719.90
7.0.30.0270.05020.30
7.0.20.0370.06720.13
7.0.10.0230.09320.05
7.0.00.0070.04320.12
5.6.280.0030.07321.10
5.6.210.0070.04320.49
5.6.200.0070.04318.18
5.6.190.0030.08720.59
5.6.180.3470.03720.54
5.6.170.0230.08320.45
5.6.160.0070.04020.41
5.6.150.0030.04318.23
5.6.140.0030.07018.11
5.6.130.0130.03318.21
5.6.120.0070.05721.01
5.6.110.0100.07721.10
5.6.100.0030.08321.02
5.6.90.0030.10021.01
5.6.80.0000.08720.40
5.6.70.0230.07020.38
5.5.350.0230.07720.43
5.5.340.0070.06017.93
5.5.330.0170.07720.07
5.5.320.0570.04720.41
5.5.310.0300.07720.29
5.5.300.0000.04017.95
5.5.290.0030.08317.92
5.5.280.0070.03720.86
5.5.270.0130.03320.96
5.5.260.0200.08020.73
5.5.250.0070.08020.57
5.5.240.0070.05020.25
5.4.450.0030.06319.30
5.4.440.0300.05719.61
5.4.430.0870.06019.55
5.4.420.0670.00019.48
5.4.410.0170.07318.79
5.4.400.0170.06318.69
5.4.390.0300.06318.46
5.4.380.0300.04718.50
5.4.370.0130.03718.65
5.4.360.0270.03018.83
5.4.350.0060.03711.97
5.4.340.0020.03911.97
5.4.320.0060.04312.45
5.4.310.0100.04612.45
5.4.300.0030.04012.45
5.4.290.0100.06812.43
5.4.280.0210.05312.33
5.4.270.0080.05612.33
5.4.260.0120.05112.33
5.4.250.0270.09012.33
5.4.240.0120.07212.33
5.4.230.0100.05612.32
5.4.220.0210.10212.32
5.4.210.0180.09012.32
5.4.200.0150.06612.32
5.4.190.0280.07712.32
5.4.180.0340.07612.32
5.4.170.0140.07612.33
5.4.160.0060.05812.33
5.4.150.0120.08712.32
5.4.140.0180.05712.00
5.4.130.0070.04811.99
5.4.120.0110.07011.95
5.4.110.0250.07411.95
5.4.100.0220.06311.95
5.4.90.0240.06411.95
5.4.80.0110.06111.95
5.4.70.0120.08011.95
5.4.60.0150.05611.95
5.4.50.0130.04511.95
5.4.40.0090.04911.93
5.4.30.0140.03611.93
5.4.20.0070.05011.93
5.4.10.0090.04911.93
5.4.00.0050.04711.42
5.3.290.0100.03912.80
5.3.280.0060.04312.71
5.3.270.0200.06012.72
5.3.260.0130.04412.71
5.3.250.0250.07512.72
5.3.240.0110.04812.72
5.3.230.0190.07412.71
5.3.220.0280.14012.68
5.3.210.0240.11612.68
5.3.200.0190.08812.68
5.3.190.0110.05812.67
5.3.180.0350.08112.67
5.3.170.0200.08612.67
5.3.160.0120.07912.68
5.3.150.0160.09112.68
5.3.140.0190.06012.66
5.3.130.0220.08212.66
5.3.120.0270.14712.66
5.3.110.0240.11012.66
5.3.100.0120.11012.12
5.3.90.0180.10612.08
5.3.80.0180.08712.08
5.3.70.0240.10312.07
5.3.60.0090.05812.07
5.3.50.0180.09112.00
5.3.40.0110.09612.00
5.3.30.0080.05211.94
5.3.20.0130.06311.72
5.3.10.0060.05611.69
5.3.00.0070.05211.67
5.2.170.0140.0629.18
5.2.160.0200.1019.18
5.2.150.0080.0419.18
5.2.140.0240.0899.17
5.2.130.0220.0599.13
5.2.120.0160.0589.14
5.2.110.0080.0339.14
5.2.100.0180.0679.14
5.2.90.0160.0529.14
5.2.80.0160.0679.13
5.2.70.0120.0709.13
5.2.60.0320.0799.09
5.2.50.0070.0319.05
5.2.40.0070.0489.04
5.2.30.0120.0469.00
5.2.20.0110.0509.00
5.2.10.0130.0578.92
5.2.00.0150.0708.78
5.1.60.0070.0588.06
5.1.50.0190.0498.06
5.1.40.0120.0608.04
5.1.30.0170.0588.39
5.1.20.0140.0468.41
5.1.10.0120.0338.14
5.1.00.0050.0408.14
5.0.50.0040.0226.62
5.0.40.0050.0206.47
5.0.30.0210.0366.28
5.0.20.0140.0406.26
5.0.10.0190.0596.23
5.0.00.0070.0686.23
4.4.90.0060.0444.78
4.4.80.0130.0394.76
4.4.70.0060.0424.75
4.4.60.0080.0384.75
4.4.50.0270.0604.77
4.4.40.0210.1374.71
4.4.30.0160.0214.76
4.4.20.0090.0524.85
4.4.10.0170.0454.85
4.4.00.0070.0534.76
4.3.110.0170.0444.67
4.3.100.0180.0394.66
4.3.90.0100.0384.63
4.3.80.0050.0464.59
4.3.70.0100.0434.63
4.3.60.0090.0304.63
4.3.50.0110.0374.62
4.3.40.0120.0484.54
4.3.30.0090.0493.28
4.3.20.0050.0373.26
4.3.10.0090.0383.22
4.3.00.0070.0176.73

preferences:
44.18 ms | 401 KiB | 5 Q