3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testObject = new ArrayObject(array(‘Tom’)); $testResult = is_array($testObject); var_dump($testResult);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3vKIX
function name:  (null)
number of ops:  12
compiled vars:  !0 = $testObject, !1 = $testResult
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'ArrayObject'
          1        FETCH_CONSTANT                                   ~3      '%E2%80%98Tom%E2%80%99'
          2        INIT_ARRAY                                       ~4      ~3
          3        SEND_VAL_EX                                              ~4
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    4     6        TYPE_CHECK                                  128  ~7      !0
          7        ASSIGN                                                   !1, ~7
    5     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.69 ms | 1398 KiB | 15 Q