3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array(1, 2, 3); $result = array_slice($data, 4, 5); print_r($result);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/mLjCR
function name:  (null)
number of ops:  11
compiled vars:  !0 = $data, !1 = $result
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, <array>
   3     1        INIT_FCALL                                               'array_slice'
         2        SEND_VAR                                                 !0
         3        SEND_VAL                                                 4
         4        SEND_VAL                                                 5
         5        DO_ICALL                                         $3      
         6        ASSIGN                                                   !1, $3
   4     7        INIT_FCALL                                               'print_r'
         8        SEND_VAR                                                 !1
         9        DO_ICALL                                                 
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0