@ -126,10 +126,12 @@ if (isset($_POST['code'])) {
< / script >
< / head >
< body >
< div class = "output" > <?php echo $debugOutput ?> </ div >
< div class = "console-wrapper" >
< div class = "input-wrapper" >
< form method = "POST" action = "" >
< div class = "input" >
< textarea class = "editor" id = "editor" name = "code" > <?php echo ( isset ( $_POST [ 'code' ]) ? htmlentities ( $_POST [ 'code' ], ENT_QUOTES , 'UTF-8' ) : "<?php \n\n " ) ?> </ textarea >
< / div >
< div class = "statusbar" >
< span class = "position" > Line: 1, Column: 1< / span >
< span class = "copy" >
@ -156,9 +158,14 @@ if (isset($_POST['code'])) {
< a href = "" class = "reset" > Reset< / a >
< span class = "runtime-info" > < / span >
< / div >
< / div >
< input type = "submit" name = "subm" value = "Try this!" / >
< / form >
< / div >
< div class = "output-wrapper" >
< div class = "output" > <?php echo $debugOutput ?> </ div >
< / div >
< / div >
< div class = "footer-wrapper" >
< div class = "help" >
debug:
< foo()
@ -181,5 +188,6 @@ if (isset($_POST['code'])) {
< div class = "footer" >
php-console v<?php echo PHP_CONSOLE_VERSION ?> - by < a href = "http://seld.be/" > Jordi Boggiano</ a > - < a href = "http://github.com/Seldaek/php-console" > sources on github</ a >
< / div >
< / div >
< / body >
< / html >