3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass(); $a->grow = 'gros'; echo $a->grow=='gros'?'yes':'no';
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/XgEjZ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        ASSIGN_OBJ                                               !0, 'grow'
          4        OP_DATA                                                  'gros'
    5     5        FETCH_OBJ_R                                      ~5      !0, 'grow'
          6        IS_EQUAL                                                 ~5, 'gros'
          7      > JMPZ                                                     ~6, ->10
          8    >   QM_ASSIGN                                        ~7      'yes'
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~7      'no'
         11    >   ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.81 ms | 1397 KiB | 13 Q