3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Sample variables $slcustom29 = 0; $grade = 'A'; $showOrHideText = 'show'; if($slcustom29 == 0) { $show = 1; } else { $show = 0; } $gradeNote = "<a href=\"http://example.com/index.php?g=$grade;&amp;s=$show\">Click here to $showOrHideText the suggested sequence of lessons.</a>"; echo $gradeNote;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rsg7Y
function name:  (null)
number of ops:  18
compiled vars:  !0 = $slcustom29, !1 = $grade, !2 = $showOrHideText, !3 = $show, !4 = $gradeNote
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 0
    5     1        ASSIGN                                                   !1, 'A'
    6     2        ASSIGN                                                   !2, 'show'
    8     3        IS_EQUAL                                                 !0, 0
          4      > JMPZ                                                     ~8, ->7
    9     5    >   ASSIGN                                                   !3, 1
    8     6      > JMP                                                      ->8
   12     7    >   ASSIGN                                                   !3, 0
   15     8    >   ROPE_INIT                                     7  ~12     '%3Ca+href%3D%22http%3A%2F%2Fexample.com%2Findex.php%3Fg%3D'
          9        ROPE_ADD                                      1  ~12     ~12, !1
         10        ROPE_ADD                                      2  ~12     ~12, '%3B%26amp%3Bs%3D'
         11        ROPE_ADD                                      3  ~12     ~12, !3
         12        ROPE_ADD                                      4  ~12     ~12, '%22%3EClick+here+to+'
         13        ROPE_ADD                                      5  ~12     ~12, !2
         14        ROPE_END                                      6  ~11     ~12, '+the+suggested+sequence+of+lessons.%3C%2Fa%3E'
         15        ASSIGN                                                   !4, ~11
   17    16        ECHO                                                     !4
   18    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
132.96 ms | 996 KiB | 13 Q