3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = <<<EOT <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" Yadda yadda yadda <dict> <key>default</key> EOT; $output .= "<string>" . "Hello" . "</string>"; $output .= <<<EOT </dict> <key>anchorLeft</key> <string>1</string> <key>anchorRight</key> EOT; echo $output; $output = <<<EOT <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" Yadda yadda yadda <dict> <key>default</key> EOT; $output .= "<string>" . "Hello" . "</string>"; $output .= <<<EOT </dict> <key>anchorLeft</key> <string>1</string> <key>anchorRight</key> EOT; $foobar = <<<EOT <foo>bar</foo> EOT; echo $output;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NWuX1
function name:  (null)
number of ops:  10
compiled vars:  !0 = $output, !1 = $foobar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0A%3C%21DOCTYPE+plist+PUBLIC+%22-%2F%2FApple%2F%2FDTD+PLIST+1.0%2F%2FEN%22+%0AYadda+yadda+yadda%0A++++++++++++++++%3Cdict%3E++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++%3Ckey%3Edefault%3C%2Fkey%3E++++++++++++++++++++++++++++++++++++++'
   10     1        ASSIGN_OP                                     8          !0, '%3Cstring%3EHello%3C%2Fstring%3E'
   12     2        ASSIGN_OP                                     8          !0, '++++++++++++++++%3C%2Fdict%3E+++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++%3Ckey%3EanchorLeft%3C%2Fkey%3E+++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++%3Cstring%3E1%3C%2Fstring%3E++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++%3Ckey%3EanchorRight%3C%2Fkey%3E+'
   18     3        ECHO                                                     !0
   20     4        ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0A%3C%21DOCTYPE+plist+PUBLIC+%22-%2F%2FApple%2F%2FDTD+PLIST+1.0%2F%2FEN%22+%0AYadda+yadda+yadda%0A++++++++++++++++%3Cdict%3E++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++%3Ckey%3Edefault%3C%2Fkey%3E++++++++++++++++++++++++++++++++++++++'
   27     5        ASSIGN_OP                                     8          !0, '%3Cstring%3EHello%3C%2Fstring%3E'
   29     6        ASSIGN_OP                                     8          !0, '%3C%2Fdict%3E+++++++++++++++++++++++++++++++++++++++++%0A%3Ckey%3EanchorLeft%3C%2Fkey%3E+++++++++++++++++++++++++++++++++++++++++++%0A%3Cstring%3E1%3C%2Fstring%3E++++++++++++++++++++++++++++++++++++++++++%0A%3Ckey%3EanchorRight%3C%2Fkey%3E'
   34     7        ASSIGN                                                   !1, '%3Cfoo%3Ebar%3C%2Ffoo%3E'
   38     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.51 ms | 1394 KiB | 13 Q