fork download
  1. 1<<1//\<?php
  2. $is_php = !'0';
  3. if ($is_php) {
  4. echo(PHP_EOL);
  5. perevedi_na_php();
  6. } else {
  7. console.log('1<<1//\\');
  8. perevedi_na_js();
  9. }
  10.  
  11. function perevedi_na_php() {
  12. echo('Hello, "PHP"!' . PHP_EOL);
  13. }
  14. function perevedi_na_js() {
  15. console.log('Hello, "PHP"!');
  16. }
  17. /*
  18. 1//<?php
  19. function perevedi_na_bash() {
  20.   echo "1<<1//\\"
  21.   echo "Hello, PHP!"
  22. }
  23. perevedi_na_bash
  24. #*/
  25.  
Success #stdin #stdout 0s 82560KB
stdin
Standard input is empty
stdout
1<<1//\
Hello, "PHP"!