3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "TEST"; $myString = "Test my break"; $newString = substr(($myString), 0, 5); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mDd6i
function name:  (null)
number of ops:  9
compiled vars:  !0 = $myString, !1 = $newString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'TEST'
    5     1        ASSIGN                                                   !0, 'Test+my+break'
    7     2        INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 5
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !1, $3
    8     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.48 ms | 1394 KiB | 15 Q