3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (int) ((object)[] instanceof stdClass); echo (int) (date_create() instanceof stdClass);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pLQBf
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          8  ~0      <array>
          1        INSTANCEOF                                       ~1      ~0, 'stdClass'
          2        CAST                                          4  ~2      ~1
          3        ECHO                                                     ~2
    5     4        INIT_FCALL                                               'date_create'
          5        DO_ICALL                                         $3      
          6        INSTANCEOF                                       ~4      $3, 'stdClass'
          7        CAST                                          4  ~5      ~4
          8        ECHO                                                     ~5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.73 ms | 1385 KiB | 15 Q