3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdclass(); $a->foo = "bar"; $b = $a; echo $a == $b?"oui":"non"; echo $a === $b?"oui":"non";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
Branch analysis from position: 16
filename:       /in/KsFT9
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'stdclass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    3     3        ASSIGN_OBJ                                               !0, 'foo'
          4        OP_DATA                                                  'bar'
    4     5        ASSIGN                                                   !1, !0
    5     6        IS_EQUAL                                                 !0, !1
          7      > JMPZ                                                     ~7, ->10
          8    >   QM_ASSIGN                                        ~8      'oui'
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~8      'non'
         11    >   ECHO                                                     ~8
    6    12        IS_IDENTICAL                                             !0, !1
         13      > JMPZ                                                     ~9, ->16
         14    >   QM_ASSIGN                                        ~10     'oui'
         15      > JMP                                                      ->17
         16    >   QM_ASSIGN                                        ~10     'non'
         17    >   ECHO                                                     ~10
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.21 ms | 1393 KiB | 13 Q