3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $xml_string = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <methodResponse><params><param><value><struct><member><name>Result</name><value><array><data><value><array><data><value><string>29</string></value></data></array></value></data></array></value></member></struct></value></param></params></methodResponse>"; $parser = xml_parser_create(); xml_parse_into_struct($parser , $xml_string, $array_result, $index); ob_start(); var_dump($array_result); $result = ob_get_clean(); echo $array_result[14]["value"]; */ /* $simple = "<root><returnCode>0000</returnCode><description></description></root>"; $p = xml_parser_create(); xml_parse_into_struct($p, $simple, $vals, $index); xml_parser_free($p); print_r($vals); echo $vals[2]["value"]; */ $a = 0; for($i=0; $i < 3; $i++){ $a = "1"; } echo $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
Branch analysis from position: 3
filename:       /in/YNr8A
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   ASSIGN                                                   !0, 0
   28     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->5
   29     3    >   ASSIGN                                                   !0, '1'
   28     4        PRE_INC                                                  !1
          5    >   IS_SMALLER                                               !1, 3
          6      > JMPNZ                                                    ~6, ->3
   32     7    >   ECHO                                                     !0
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.87 ms | 1397 KiB | 13 Q