3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name = 'foo'; if (strlen($name) > 49) { echo 'a'; } if (isset($name[49])) { echo 'a'; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
Jump found. Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
Jump found. Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 5
filename:       /in/ENWFB
function name:  (null)
number of ops:  9
compiled vars:  !0 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'foo'
   5     1        STRLEN                                           ~2      !0
         2        IS_SMALLER                                       ~3      49, ~2
         3      > JMPZ                                                     ~3, ->5
   6     4    >   ECHO                                                     'a'
   8     5    >   ISSET_ISEMPTY_DIM_OBJ                       33554432  ~4      !0, 49
         6      > JMPZ                                                     ~4, ->8
   9     7    >   ECHO                                                     'a'
         8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0