3v4l.org

run code in 500+ PHP versions simultaneously
<?php error_reporting(E_ALL); if ($y === null) { // Should E_NOTICE echo "NONEXISTENT\n"; } $x = null; if ($x === null) { echo "NONEXISTENT\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 6
filename:       /in/kUJtP
function name:  (null)
number of ops:  11
compiled vars:  !0 = $y, !1 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     30719
          2        DO_ICALL                                                     
    4     3        TYPE_CHECK                                        2          !0
          4      > JMPZ                                                         ~3, ->6
    6     5    >   ECHO                                                         'NONEXISTENT%0A'
    9     6    >   ASSIGN                                                       !1, null
   10     7        TYPE_CHECK                                        2          !1
          8      > JMPZ                                                         ~5, ->10
   11     9    >   ECHO                                                         'NONEXISTENT%0A'
   12    10    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.91 ms | 2642 KiB | 14 Q