3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $a = 3; $arr[] = "TRUE"; $arr = (array) $a; echo $arr[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kLY2o
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 3
    5     1        ASSIGN_DIM                                               !1
          2        OP_DATA                                                  'TRUE'
    6     3        CAST                                          7  ~4      !0
          4        ASSIGN                                                   !1, ~4
    7     5        FETCH_DIM_R                                      ~6      !1, 0
          6        ECHO                                                     ~6
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.43 ms | 1392 KiB | 13 Q