3v4l.org

run code in 300+ PHP versions simultaneously
<?php $squirt_path22 = array(123423, 'data', 'test'); //$firs_val = array_shift($squirt_path22); echo '---shifted--<br>'; print_r($squirt_path22); echo '<br>---reversed--<br>'; array_reverse($squirt_path22, true); print_r($squirt_path22);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/InGu6
function name:  (null)
number of ops:  14
compiled vars:  !0 = $squirt_path22
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ECHO                                                     '---shifted--%3Cbr%3E'
    8     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   10     5        ECHO                                                     '%3Cbr%3E---reversed--%3Cbr%3E'
   11     6        INIT_FCALL                                               'array_reverse'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                                 
   12    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.79 ms | 1394 KiB | 17 Q