3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testing = 'trueee variabled'; $testing = false; if (!$trueee = $testing) { $trueee = 'trueee elsed'; var_dump($trueee . " inside if..."); } var_dump($trueee . " outside if...");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/mHNDZ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $testing, !1 = $trueee
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'trueee+variabled'
    4     1        ASSIGN                                                   !0, <false>
    6     2        ASSIGN                                           ~4      !1, !0
          3        BOOL_NOT                                         ~5      ~4
          4      > JMPZ                                                     ~5, ->10
    7     5    >   ASSIGN                                                   !1, 'trueee+elsed'
    8     6        INIT_FCALL                                               'var_dump'
          7        CONCAT                                           ~7      !1, '+inside+if...'
          8        SEND_VAL                                                 ~7
          9        DO_ICALL                                                 
   11    10    >   INIT_FCALL                                               'var_dump'
         11        CONCAT                                           ~9      !1, '+outside+if...'
         12        SEND_VAL                                                 ~9
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.63 ms | 1394 KiB | 15 Q