3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array('pear', 'apple'), array('banana', 'coconut'), 'orange' // This is not an array element ); /*  foreach ($array as $value) {     // check if the current element is an array     if (is_array($value)) {         foreach ($value as $fruit) {             echo $fruit . "<br>";         }     }     else {         echo $value . "<br>";     } }*/
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VWl6A
function name:  (null)
number of ops:  2
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   20     1      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.08 ms | 1383 KiB | 13 Q