fork(1) download
  1. <?php
  2. function c1(){
  3. echo c1;
  4. return 0;
  5. }
  6. function c2(){
  7. echo c2;
  8. return 2;
  9. }
  10. if (c1() && c2())
  11. echo '+';
  12. else echo '-';
  13. // your code goes here
Success #stdin #stdout #stderr 0.01s 52488KB
stdin
Standard input is empty
stdout
c1-
stderr
PHP Notice:  Use of undefined constant c1 - assumed 'c1' in /home/YgWUDo/prog.php on line 3