3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdclass(); $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 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
Branch analysis from position: 14
filename:       /in/P10XS
function name:  (null)
number of ops:  17
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                                                   !1, !0
    4     4        IS_EQUAL                                                 !0, !1
          5      > JMPZ                                                     ~6, ->8
          6    >   QM_ASSIGN                                        ~7      'oui'
          7      > JMP                                                      ->9
          8    >   QM_ASSIGN                                        ~7      'non'
          9    >   ECHO                                                     ~7
    5    10        IS_IDENTICAL                                             !0, !1
         11      > JMPZ                                                     ~8, ->14
         12    >   QM_ASSIGN                                        ~9      'oui'
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~9      'non'
         15    >   ECHO                                                     ~9
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.83 ms | 1393 KiB | 13 Q