3v4l.org

run code in 200+ 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"; } echo $left_col_class;
based on MhaRI

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)
7.4.60.0100.00616.64
7.4.50.0040.01116.61
7.4.00.0070.00714.90
7.3.180.0070.01016.47
7.2.80.0150.00316.59
7.2.70.0030.01517.04
7.2.60.0000.01316.73
7.2.50.0030.01117.02
7.2.40.0090.00616.44
7.2.30.0110.00316.77
7.2.20.0050.00916.82
7.2.10.0100.00316.68
7.2.00.0070.00716.74
7.1.200.0040.00815.51
7.1.190.0000.01215.71
7.1.180.0060.00615.38
7.1.170.0100.00615.65
7.1.160.0130.00015.41
7.1.150.0030.00915.34
7.1.140.0100.00315.63
7.1.130.0080.00415.57
7.1.120.0090.00615.77
7.1.110.0090.00615.59
7.1.100.0060.00615.51
7.1.90.0060.00615.55
7.1.80.0060.00615.39
7.1.70.0120.00415.54
7.1.60.0240.01033.89
7.1.50.0200.01033.80
7.1.40.0170.01233.58
7.1.30.0210.00933.38
7.1.20.0330.00333.65
7.1.10.0080.00415.39
7.1.00.0080.00415.44