3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function a($b) { if($b===NULL) echo '$b is NULL<br/>'; if($b!==NULL) echo '$b isnt NULL<br/>'; var_dump($b); } a();
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/trrrU
function name:  (null)
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
  10     1        INIT_FCALL                                               'a'
         2        DO_FCALL                                      0          
         3      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
Jump found. Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
Jump found. Position 1 = -2
Branch analysis from position: 7
Branch analysis from position: 4
filename:       /in/trrrU
function name:  a
number of ops:  11
compiled vars:  !0 = $b
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   RECV                                             !0      
   5     1        IS_IDENTICAL                                     ~1      !0, null
         2      > JMPZ                                                     ~1, ->4
         3    >   ECHO                                                     '%24b+is+NULL%3Cbr%2F%3E'
   6     4    >   IS_NOT_IDENTICAL                                 ~2      !0, null
         5      > JMPZ                                                     ~2, ->7
         6    >   ECHO                                                     '%24b+isnt+NULL%3Cbr%2F%3E'
   7     7    >   INIT_FCALL                                               'var_dump'
         8        SEND_VAR                                                 !0
         9        DO_ICALL                                                 
   8    10      > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 7.3.0