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>'; $reversedArray = array_reverse($squirt_path22, true); print_r($reversedArray); ?> <html> <table><tr><td>helo</td></tr></table> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5oBM1
function name:  (null)
number of ops:  16
compiled vars:  !0 = $squirt_path22, !1 = $reversedArray
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                                         $4      
         10        ASSIGN                                                   !1, $4
   12    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
   15    14        ECHO                                                     '%3Chtml%3E%0A++++%3Ctable%3E%3Ctr%3E%3Ctd%3Ehelo%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftable%3E%0A%3C%2Fhtml%3E'
   17    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.21 ms | 1394 KiB | 17 Q