3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { public $a; } $first = new Foo; $first->a = '10'; $second = new Foo; $first->a = '0xb'; var_dump($first > $second);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5At1l
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                                                   !0, '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.5.0


preferences:
167.58 ms | 2533 KiB | 14 Q