3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class_name = ''; echo "wrap". empty($class_name) ? '' : " $class_name";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/toe3g
function name:  (null)
number of ops:  11
compiled vars:  !0 = $class_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    4     1        ISSET_ISEMPTY_CV                                 ~2      !0
          2        CONCAT                                           ~3      'wrap', ~2
          3      > JMPZ                                                     ~3, ->6
          4    >   QM_ASSIGN                                        ~4      ''
          5      > JMP                                                      ->9
          6    >   NOP                                                      
          7        FAST_CONCAT                                      ~5      '+', !0
          8        QM_ASSIGN                                        ~4      ~5
          9    >   ECHO                                                     ~4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.73 ms | 1393 KiB | 13 Q