3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testArray = array(); $height=$testArray['height']; echo('$height after getting from array: '.$height); $height=intval($height); //echo('$height after calling intval: '.$height);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jhkXP
function name:  (null)
number of ops:  8
compiled vars:  !0 = $testArray, !1 = $height
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_R                                      ~3      !0, 'height'
          2        ASSIGN                                                   !1, ~3
    5     3        CONCAT                                           ~5      '%24height+after+getting+from+array%3A+', !1
          4        ECHO                                                     ~5
    7     5        CAST                                          4  ~6      !1
          6        ASSIGN                                                   !1, ~6
    8     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.04 ms | 1392 KiB | 13 Q