3v4l.org

run code in 300+ PHP versions simultaneously
<?php $category = array('Home', 'Kategória 1', 'Kategória 2', 'Kategória 3', 'Kategória 4'); echo( implode( "|", array_slice( $category, 1, count($category) // kompatibilita s PHP =< 5.2.4 ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EhnrC
function name:  (null)
number of ops:  13
compiled vars:  !0 = $category
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    6     1        INIT_FCALL                                               'implode'
    7     2        SEND_VAL                                                 '%7C'
    8     3        INIT_FCALL                                               'array_slice'
    9     4        SEND_VAR                                                 !0
   10     5        SEND_VAL                                                 1
   11     6        COUNT                                            ~2      !0
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
   14    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.62 ms | 1394 KiB | 17 Q