3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.13 ms | 1394 KiB | 15 Q