3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '2015'; assert(is_int(new stdClass()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WFU0l
function name:  (null)
number of ops:  10
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2015'
    5     1        ASSERT_CHECK                                             
          2        INIT_FCALL                                               'assert'
          3        NEW                                              $2      'stdClass'
          4        DO_FCALL                                      0          
          5        TYPE_CHECK                                   16  ~4      $2
          6        SEND_VAL                                                 ~4
          7        SEND_VAL                                                 'assert%28is_int%28new+stdClass%28%29%29%29'
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.57 ms | 1394 KiB | 15 Q