3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 23; $b = 2; $i = $a; $arr[] = $i % $b; // store remainder in array $i = floor($i/$b); var_dump($arr,$i);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u7v06
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b, !2 = $i, !3 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 23
    3     1        ASSIGN                                                   !1, 2
    4     2        ASSIGN                                                   !2, !0
    5     3        MOD                                              ~8      !2, !1
          4        ASSIGN_DIM                                               !3
          5        OP_DATA                                                  ~8
    6     6        INIT_FCALL                                               'floor'
          7        DIV                                              ~9      !2, !1
          8        SEND_VAL                                                 ~9
          9        DO_ICALL                                         $10     
         10        ASSIGN                                                   !2, $10
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !3
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.93 ms | 1394 KiB | 17 Q