3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SERVER['REQUEST_URI'] = 'student-login'; // We're NOT on the home page if (strpos($_SERVER['REQUEST_URI'], "online") >= 0) { $left_col_class = "gkPageContent"; } elseif(strpos($_SERVER['REQUEST_URI'], "student-login") >= 0) { $left_col_class = "showme"; echo "this is not sanjay"; } elseif(strpos($_SERVER['REQUEST_URI'], "my-account/orders") >= 0) { $left_col_class = "showme"; } elseif(strpos($_SERVER['REQUEST_URI'], "my-account/my-courses") >= 0) { $left_col_class = "showme"; } elseif(strpos($_SERVER['REQUEST_URI'], "my-account/fourm") >= 0) { $left_col_class = "showme"; } elseif(strpos($_SERVER['REQUEST_URI'], "student-login") >= 0) { $left_col_class = "showme"; } elseif (strpos($_SERVER['REQUEST_URI'], "student-login") >= 0) { $left_col_class = "showme"; } else{ echo "dam thing"; }

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.0060.00918.30
8.3.50.0110.00416.63
8.3.40.0070.00718.84
8.3.30.0160.00318.71
8.3.20.0030.00518.99
8.3.10.0040.00423.61
8.3.00.0000.00823.40
8.2.180.0110.00718.18
8.2.170.0110.00322.96
8.2.160.0070.01018.98
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0090.00619.27
8.2.110.0030.00719.29
8.2.100.0060.00617.72
8.2.90.0030.00617.91
8.2.80.0050.00318.04
8.2.70.0030.00518.05
8.2.60.0030.00518.05
8.2.50.0060.00318.10
8.2.40.0050.00321.14
8.2.30.0000.00719.28
8.2.20.0040.00418.21
8.2.10.0050.00219.36
8.2.00.0000.00719.57
8.1.280.0120.00625.92
8.1.270.0040.00422.15
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00822.17
8.1.230.0050.00520.89
8.1.220.0000.00817.76
8.1.210.0060.00318.88
8.1.200.0000.01017.35
8.1.190.0050.00517.35
8.1.180.0000.00818.10
8.1.170.0000.00818.75
8.1.160.0070.00018.89
8.1.150.0040.00418.86
8.1.140.0040.00419.65
8.1.130.0030.00319.05
8.1.120.0030.00717.50
8.1.110.0100.00017.53
8.1.100.0050.00317.50
8.1.90.0000.00717.53
8.1.80.0080.00017.46
8.1.70.0000.00717.36
8.1.60.0000.00817.57
8.1.50.0040.00417.47
8.1.40.0050.00317.58
8.1.30.0040.00417.53
8.1.20.0070.00017.68
8.1.10.0040.00417.55
8.1.00.0040.00417.49
8.0.300.0040.00420.07
8.0.290.0000.00816.75
8.0.280.0050.00318.36
8.0.270.0040.00416.84
8.0.260.0030.00317.19
8.0.250.0030.00317.00
8.0.240.0040.00416.94
8.0.230.0070.00016.83
8.0.220.0080.00016.88
8.0.210.0060.00316.98
8.0.200.0000.00616.96
8.0.190.0000.00716.96
8.0.180.0030.00516.94
8.0.170.0030.00616.80
8.0.160.0070.00016.80
8.0.150.0040.00416.87
8.0.140.0000.00816.92
8.0.130.0000.00613.37
8.0.120.0000.00816.91
8.0.110.0080.00016.82
8.0.100.0000.00816.86
8.0.90.0000.00816.74
8.0.80.0030.01216.88
8.0.70.0070.00016.89
8.0.60.0040.00416.92
8.0.50.0000.00816.82
8.0.30.0120.00717.04
8.0.20.0140.00517.40
8.0.10.0080.00016.85
8.0.00.0160.01116.86
7.4.330.0040.00015.55
7.4.320.0030.00316.42
7.4.300.0030.00316.51
7.4.290.0040.00416.43
7.4.280.0000.00716.65
7.4.270.0040.00416.64
7.4.260.0060.00316.52
7.4.250.0070.00016.57
7.4.240.0000.00716.61
7.4.230.0050.00216.52
7.4.220.0090.00016.60
7.4.210.0040.01116.64
7.4.200.0050.00216.52
7.4.160.0080.00816.43
7.4.140.0100.00917.86
7.4.130.0090.01916.41
7.4.120.0130.00716.56
7.4.110.0070.01016.54
7.4.100.0070.01016.47
7.4.90.0080.01616.41
7.4.80.0080.01019.39
7.4.70.0030.01416.43
7.4.60.0030.01516.34
7.4.50.0100.00716.20
7.4.40.0140.00516.23
7.4.00.0100.00314.80
7.3.330.0060.00013.16
7.3.320.0030.00313.02
7.3.310.0040.00416.35
7.3.300.0000.00616.11
7.3.290.0000.00816.29
7.3.280.0140.00616.29
7.3.260.0080.01016.36
7.3.240.0090.01216.33
7.3.230.0090.00916.27
7.3.210.0100.01416.40
7.3.200.0060.01016.44
7.3.190.0170.00316.51
7.3.180.0060.01016.45
7.3.170.0090.00616.44
7.3.160.0120.00916.52
7.3.00.0040.00816.65
7.2.330.0070.01116.77
7.2.320.0140.00816.70
7.2.310.0050.01116.71
7.2.300.0110.01116.75
7.2.290.0070.01016.56
7.2.130.0140.00016.68
7.2.120.0120.00016.93
7.2.110.0030.00716.93
7.2.100.0040.00717.00
7.2.90.0070.01016.84
7.2.80.0090.00516.71
7.2.70.0070.00716.97
7.2.60.0110.00616.64
7.2.50.0090.00816.63
7.2.40.0080.01117.01
7.2.30.0090.00716.86
7.2.20.0090.00516.75
7.2.10.0100.00516.76
7.2.00.0030.01116.84
7.1.250.0100.00715.80
7.1.240.0120.00315.83
7.1.230.0090.00415.84
7.1.220.0070.00715.55
7.1.210.0040.00415.84
7.1.200.0070.00515.46
7.1.190.0050.00815.77
7.1.180.0120.00515.61
7.1.170.0020.01115.70
7.1.160.0030.00915.81
7.1.150.0070.00515.78
7.1.140.0050.00715.69
7.1.130.0080.00315.60
7.1.120.0080.00615.75
7.1.110.0080.00615.87
7.1.100.0010.01115.64
7.1.90.0080.00815.63
7.1.80.0030.00815.73
7.1.70.0070.00715.71
7.1.60.0200.00424.70
7.1.50.0170.01224.68
7.1.40.0170.01024.55
7.1.30.0240.00824.46
7.1.20.0210.00224.59
7.1.10.0120.00315.68
7.1.00.0130.00515.85
7.0.330.0070.01015.38
5.6.380.0110.00014.54

preferences:
64.14 ms | 401 KiB | 5 Q