fork download
  1. //\
  2. /*
  3. #if 0
  4. */
  5. //<?php
  6. if (!'0') {
  7. echo(PHP_EOL);
  8. perevedi_na_php();
  9. } else {
  10. console.log("//\\\n/*\n#if 0\n*" + "/\n//");
  11. perevedi_na_js();
  12. }
  13. function perevedi_na_php() {
  14. echo("Hello, \"PHP\"!\n");
  15. }
  16. function perevedi_na_js() {
  17. console.log("Hello, \"PHP\"!");
  18. }
  19. //\
  20. /*
  21. #else
  22. #include <stdio.h>
  23. void perevedi_na_c() {
  24.   printf("Hello, \"PHP\"!\n");
  25. }
  26. int main() {
  27.   printf("//\\\n/*\n#if 0\n*""/\n//\n");
  28.   perevedi_na_c();
  29.   return 0;
  30. }
  31. #endif
  32. //*/
Success #stdin #stdout 0.04s 146816KB
stdin
Standard input is empty
stdout
//\
/*
#if 0
*/
//
Hello, "PHP"!