3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fred = null; echo ! $fred; echo ! null; $dino = new stdClass; var_dump(get_class($this->object));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P3Uru
function name:  (null)
number of ops:  14
compiled vars:  !0 = $fred, !1 = $dino
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        BOOL_NOT                                         ~3      !0
          2        ECHO                                                     ~3
    5     3        ECHO                                                     <true>
    7     4        NEW                                              $4      'stdClass'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $4
    9     7        INIT_FCALL                                               'var_dump'
          8        FETCH_THIS                                       $7      
          9        FETCH_OBJ_R                                      ~8      $7, 'object'
         10        GET_CLASS                                        ~9      ~8
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.63 ms | 1385 KiB | 15 Q