3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.86 ms | 1393 KiB | 15 Q