fork download
  1. <?php
  2.  
  3. function a() {
  4. return false;
  5.  
  6. }
  7.  
  8. function b() {
  9. return 99;
  10.  
  11. }
  12. echo (a()?:3)."\n";
  13. echo (b()?:3)."\n";
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
3
99