3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SERVER['REQUEST_URI'] = 'student-login'; <?php // 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)
7.2.80.0090.00316.30
7.2.70.0080.00516.61
7.2.60.0110.00616.77
7.2.50.0190.00016.68
7.2.40.0100.00716.80
7.2.30.0080.00516.41
7.2.20.0070.00716.82
7.2.10.0070.00716.73
7.2.00.0070.00716.15
7.1.190.0070.00415.47
7.1.180.0130.00415.36
7.1.170.0120.00615.29
7.1.160.0000.01515.50
7.1.150.0100.00315.22
7.1.140.0080.00415.66
7.1.130.0090.00315.46
7.1.120.0100.00715.26
7.1.110.0060.00915.55
7.1.100.0060.00615.58
7.1.90.0110.00815.46
7.1.80.0060.01215.36
7.1.70.0030.00915.32
7.1.60.0130.02733.79
7.1.50.0330.00833.66
7.1.40.0370.00733.41
7.1.30.0270.00333.74
7.1.20.0240.00733.53
7.1.10.0060.00615.38
7.1.00.0060.00615.19

preferences:
142.55 ms | 1394 KiB | 7 Q