3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'N'; print '<br>' . $s; print '<br>' . ($s == "Y" || $s == "T" || $s == "YES" || $s == "TRUE" || $s == "ON");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
2 jumps found. (Code = 47) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 13
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/A3s4N
function name:  (null)
number of ops:  19
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'N'
    3     1        CONCAT                                           ~2      '%3Cbr%3E', !0
          2        ECHO                                                     ~2
    4     3        IS_EQUAL                                         ~3      !0, 'Y'
          4      > JMPNZ_EX                                         ~3      ~3, ->7
          5    >   IS_EQUAL                                         ~4      !0, 'T'
          6        BOOL                                             ~3      ~4
          7    > > JMPNZ_EX                                         ~3      ~3, ->10
          8    >   IS_EQUAL                                         ~5      !0, 'YES'
          9        BOOL                                             ~3      ~5
         10    > > JMPNZ_EX                                         ~3      ~3, ->13
         11    >   IS_EQUAL                                         ~6      !0, 'TRUE'
         12        BOOL                                             ~3      ~6
         13    > > JMPNZ_EX                                         ~3      ~3, ->16
         14    >   IS_EQUAL                                         ~7      !0, 'ON'
         15        BOOL                                             ~3      ~7
         16    >   CONCAT                                           ~8      '%3Cbr%3E', ~3
         17        ECHO                                                     ~8
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.91 ms | 1394 KiB | 13 Q