3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(ceil(13 / 2)); var_dump(ceil(11 / 2)); $data = [ ['name' => 'One'], ['name' => 'Two'], ['name' => 'Three'], ['name' => 'Four'], ['name' => 'Five'], ]; var_dump(array_chunk($data, 2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o6l5L
function name:  (null)
number of ops:  21
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'ceil'
          2        SEND_VAL                                                 6.5
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'ceil'
          8        SEND_VAL                                                 5.5
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                                 
    6    12        ASSIGN                                                   !0, <array>
   14    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'array_chunk'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 2
         17        DO_ICALL                                         $6      
         18        SEND_VAR                                                 $6
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.77 ms | 1395 KiB | 19 Q