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/fhLTH
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        INSTANCEOF                                       ~1      ~0, 'stdClass'
          2        CAST                                          4  ~2      ~1
          3        CONCAT                                           ~3      ~2, '%0A'
          4        ECHO                                                     ~3
    5     5        INIT_FCALL                                               'date_create'
          6        DO_ICALL                                         $4      
          7        INSTANCEOF                                       ~5      $4, 'stdClass'
          8        CAST                                          4  ~6      ~5
          9        CONCAT                                           ~7      ~6, '%0A'
         10        ECHO                                                     ~7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.24 ms | 1385 KiB | 15 Q