3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { } $x = new X(); var_dump(is_a($x, 'X')); var_dump(is_a($x, 'Y')); var_dump(is_numeric($x));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iHDPt
function name:  (null)
number of ops:  24
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'X'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    6     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'is_a'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 'X'
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'is_a'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 'Y'
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                                 
    8    17        INIT_FCALL                                               'var_dump'
         18        INIT_FCALL                                               'is_numeric'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $8      
         21        SEND_VAR                                                 $8
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Class X: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.93 ms | 1395 KiB | 19 Q