fork(2) download
  1. <?php
  2. Class Example {
  3. function methodExample($line) {
  4. echo $line . "\n";
  5. }
  6. function methodExample2() {
  7. echo debug_backtrace()[0]["line"];
  8. }
  9. }
  10. Example::methodExample(__LINE__);
  11. Example::methodExample2();
Success #stdin #stdout 0.03s 52480KB
stdin
Standard input is empty
stdout
10
11