3v4l.org

run code in 300+ PHP versions simultaneously
<?php $route = array('product', '1306','37'); var_dump(current($route)); echo '<br>'; next($route); var_dump(current($route)); echo '<br>'; next($route); var_dump(current($route)); echo '<br>'; next($route); var_dump(current($route)); echo '<br>'; next($route); var_dump(current($route)); echo '<br>'; next($route);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/umJp7
function name:  (null)
number of ops:  52
compiled vars:  !0 = $route
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'current'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    5     7        ECHO                                                     '%3Cbr%3E'
    6     8        INIT_FCALL                                               'next'
          9        SEND_REF                                                 !0
         10        DO_ICALL                                                 
    8    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'current'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
    9    17        ECHO                                                     '%3Cbr%3E'
   10    18        INIT_FCALL                                               'next'
         19        SEND_REF                                                 !0
         20        DO_ICALL                                                 
   12    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'current'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                         $8      
         25        SEND_VAR                                                 $8
         26        DO_ICALL                                                 
   13    27        ECHO                                                     '%3Cbr%3E'
   14    28        INIT_FCALL                                               'next'
         29        SEND_REF                                                 !0
         30        DO_ICALL                                                 
   16    31        INIT_FCALL                                               'var_dump'
         32        INIT_FCALL                                               'current'
         33        SEND_VAR                                                 !0
         34        DO_ICALL                                         $11     
         35        SEND_VAR                                                 $11
         36        DO_ICALL                                                 
   17    37        ECHO                                                     '%3Cbr%3E'
   18    38        INIT_FCALL                                               'next'
         39        SEND_REF                                                 !0
         40        DO_ICALL                                                 
   20    41        INIT_FCALL                                               'var_dump'
         42        INIT_FCALL                                               'current'
         43        SEND_VAR                                                 !0
         44        DO_ICALL                                         $14     
         45        SEND_VAR                                                 $14
         46        DO_ICALL                                                 
   21    47        ECHO                                                     '%3Cbr%3E'
   22    48        INIT_FCALL                                               'next'
         49        SEND_REF                                                 !0
         50        DO_ICALL                                                 
         51      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.22 ms | 1400 KiB | 19 Q