3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '123'; $b = '0123'; if ($a == $b && is_string($a) && is_string($b) && strlen($a) !== strlen($b)) { echo 'This line will run.'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 14
Branch analysis from position: 9
Branch analysis from position: 6
filename:       /in/4A5v3
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '123'
    5     1        ASSIGN                                                   !1, '0123'
    9     2        IS_EQUAL                                         ~4      !0, !1
          3      > JMPZ_EX                                          ~4      ~4, ->6
          4    >   TYPE_CHECK                                   64  ~5      !0
          5        BOOL                                             ~4      ~5
          6    > > JMPZ_EX                                          ~4      ~4, ->9
          7    >   TYPE_CHECK                                   64  ~6      !1
          8        BOOL                                             ~4      ~6
          9    > > JMPZ_EX                                          ~4      ~4, ->14
         10    >   STRLEN                                           ~7      !0
         11        STRLEN                                           ~8      !1
         12        IS_NOT_IDENTICAL                                 ~9      ~7, ~8
         13        BOOL                                             ~4      ~9
         14    > > JMPZ                                                     ~4, ->16
   11    15    >   ECHO                                                     'This+line+will+run.'
   13    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.27 ms | 994 KiB | 13 Q