3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sri = new StdClass(); $god = new StdClass(); if ($sri === $god) { echo "Sri's God."; } else { echo "Sri's a counterfeit"; }
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
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rloe6
function name:  (null)
number of ops:  12
compiled vars:  !0 = $sri, !1 = $god
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'StdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        NEW                                              $5      'StdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
    5     6        IS_IDENTICAL                                             !0, !1
          7      > JMPZ                                                     ~8, ->10
    6     8    >   ECHO                                                     'Sri%27s+God.'
          9      > JMP                                                      ->11
    9    10    >   ECHO                                                     'Sri%27s+a+counterfeit'
   10    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.87 ms | 1384 KiB | 13 Q