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"; } echo $left_col_class;
Output for git.master_jit, git.master, rfc.property-hooks
gkPageContent

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
56.95 ms | 401 KiB | 8 Q