3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = range(0,10); $arr2 = array('key1'=>'value1','key2'=>'value2','key3'=>'value3'); $test1 = array_filter($arr1,'odd'); echo implode('',$arr1)."\t"; echo implode('',$arr2)."\t"; echo $test1."\t";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sJPbX
function name:  (null)
number of ops:  26
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $test1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 10
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        ASSIGN                                                   !1, <array>
    6     6        INIT_FCALL                                               'array_filter'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 'odd'
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    8    11        INIT_FCALL                                               'implode'
         12        SEND_VAL                                                 ''
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $8      
         15        CONCAT                                           ~9      $8, '%09'
         16        ECHO                                                     ~9
    9    17        INIT_FCALL                                               'implode'
         18        SEND_VAL                                                 ''
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                         $10     
         21        CONCAT                                           ~11     $10, '%09'
         22        ECHO                                                     ~11
   10    23        CONCAT                                           ~12     !2, '%09'
         24        ECHO                                                     ~12
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.66 ms | 1395 KiB | 19 Q