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/5kAuP
function name:  (null)
number of ops:  10
compiled vars:  !0 = $squirt_path22
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        ECHO                                                     '%3Cbr%3E---reversed--%3Cbr%3E'
   11     2        INIT_FCALL                                               'array_reverse'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                                 
   12     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.45 ms | 1393 KiB | 17 Q