3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d=117; //$d=strval($d); echo $d[2];echo $str%100;echo strlen($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3FKT4
function name:  (null)
number of ops:  8
compiled vars:  !0 = $d, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 117
    3     1        FETCH_DIM_R                                      ~3      !0, 2
          2        ECHO                                                     ~3
          3        MOD                                              ~4      !1, 100
          4        ECHO                                                     ~4
          5        STRLEN                                           ~5      !0
          6        ECHO                                                     ~5
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.08 ms | 1392 KiB | 13 Q