3v4l.org

run code in 300+ PHP versions simultaneously
<?php $src = "http://php.net/images/logo.php"; $num = "1"; if($num == "1") { print("<img src=$src>"); } print("<img src=$src>");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/pDnh4
function name:  (null)
number of ops:  13
compiled vars:  !0 = $src, !1 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fphp.net%2Fimages%2Flogo.php'
    5     1        ASSIGN                                                   !1, '1'
    7     2        IS_EQUAL                                                 !1, '1'
          3      > JMPZ                                                     ~4, ->8
    8     4    >   ROPE_INIT                                     3  ~6      '%3Cimg+src%3D'
          5        ROPE_ADD                                      1  ~6      ~6, !0
          6        ROPE_END                                      2  ~5      ~6, '%3E'
          7        ECHO                                                     ~5
   11     8    >   ROPE_INIT                                     3  ~9      '%3Cimg+src%3D'
          9        ROPE_ADD                                      1  ~9      ~9, !0
         10        ROPE_END                                      2  ~8      ~9, '%3E'
         11        ECHO                                                     ~8
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.73 ms | 1393 KiB | 13 Q