fork download
  1. <?php
  2. function helloWord(){
  3. echo 'hello';
  4. }
  5.  
  6. function helloWord($msg){
  7. echo $msg;
  8. }
Runtime error #stdin #stdout #stderr 0.02s 24448KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Fatal error:  Cannot redeclare helloWord() (previously declared in /home/frGC7M/prog.php:3) in /home/frGC7M/prog.php on line 8