3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = true; $v = filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); if ($v === null) { var_dump($value); echo 'wat?!'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/VOVkN
function name:  (null)
number of ops:  14
compiled vars:  !0 = $value, !1 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <true>
    3     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 258
          4        SEND_VAL                                                 134217728
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    4     7        TYPE_CHECK                                    2          !1
          8      > JMPZ                                                     ~5, ->13
    6     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    7    12        ECHO                                                     'wat%3F%21'
    8    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.93 ms | 1394 KiB | 17 Q