3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = '<key><subKey>value</subKey></key>'; $xml = simplexml_load_string($input); print_r(var_dump(is_null($xml->nonKey)));
based on A4DSW
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qkb20
function name:  (null)
number of ops:  14
compiled vars:  !0 = $input, !1 = $xml
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, '%3Ckey%3E%3CsubKey%3Evalue%3C%2FsubKey%3E%3C%2Fkey%3E'
   3     1        INIT_FCALL                                               'simplexml_load_string'
         2        SEND_VAR                                                 !0
         3        DO_ICALL                                         $3      
         4        ASSIGN                                                   !1, $3
   4     5        INIT_FCALL                                               'print_r'
         6        INIT_FCALL                                               'var_dump'
         7        FETCH_OBJ_R                                      $5      !1, 'nonKey'
         8        TYPE_CHECK                                    1  ~6      $5
         9        SEND_VAL                                                 ~6
        10        DO_ICALL                                         $7      
        11        SEND_VAR                                                 $7
        12        DO_ICALL                                                 
        13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0