3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $a; } $first = new Foo; $first->a = '10'; $second = new Foo; $second->a = '0xb'; var_dump($first > $second);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tMokY
function name:  (null)
number of ops:  15
compiled vars:  !0 = $first, !1 = $second
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $2      'Foo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
          3        ASSIGN_OBJ                                               !0, 'a'
          4        OP_DATA                                                  '10'
    8     5        NEW                                              $6      'Foo'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $6
          8        ASSIGN_OBJ                                               !1, 'a'
          9        OP_DATA                                                  '0xb'
    9    10        INIT_FCALL                                               'var_dump'
         11        IS_SMALLER                                       ~10     !1, !0
         12        SEND_VAL                                                 ~10
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.04 ms | 996 KiB | 14 Q