3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contenu_avant = ""; if (strripos($contenu_avant, "/*") === FALSE || strripos("/*") > strripos("*/") || strripos($contenu_avant, "//") === FALSE || strripos("//") > strripos(chr(10))) echo "en commentaire !"; else echo "ok";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
2 jumps found. (Code = 47) Position 1 = 16, Position 2 = 22
Branch analysis from position: 16
2 jumps found. (Code = 47) Position 1 = 23, Position 2 = 31
Branch analysis from position: 23
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 34
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
Branch analysis from position: 22
Branch analysis from position: 15
filename:       /in/jPEOp
function name:  (null)
number of ops:  36
compiled vars:  !0 = $contenu_avant
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    5     1        INIT_FCALL                                               'strripos'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%2F%2A'
          4        DO_ICALL                                         $2      
          5        TYPE_CHECK                                    4  ~3      $2
          6      > JMPNZ_EX                                         ~3      ~3, ->15
          7    >   INIT_FCALL                                               'strripos'
          8        SEND_VAL                                                 '%2F%2A'
          9        DO_ICALL                                         $4      
         10        INIT_FCALL                                               'strripos'
         11        SEND_VAL                                                 '%2A%2F'
         12        DO_ICALL                                         $5      
         13        IS_SMALLER                                       ~6      $5, $4
         14        BOOL                                             ~3      ~6
         15    > > JMPNZ_EX                                         ~3      ~3, ->22
    6    16    >   INIT_FCALL                                               'strripos'
         17        SEND_VAR                                                 !0
         18        SEND_VAL                                                 '%2F%2F'
         19        DO_ICALL                                         $7      
         20        TYPE_CHECK                                    4  ~8      $7
         21        BOOL                                             ~3      ~8
         22    > > JMPNZ_EX                                         ~3      ~3, ->31
         23    >   INIT_FCALL                                               'strripos'
         24        SEND_VAL                                                 '%2F%2F'
         25        DO_ICALL                                         $9      
         26        INIT_FCALL                                               'strripos'
         27        SEND_VAL                                                 '%0A'
         28        DO_ICALL                                         $10     
         29        IS_SMALLER                                       ~11     $10, $9
         30        BOOL                                             ~3      ~11
         31    > > JMPZ                                                     ~3, ->34
    7    32    >   ECHO                                                     'en+commentaire+%21'
         33      > JMP                                                      ->35
    9    34    >   ECHO                                                     'ok'
         35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.54 ms | 1396 KiB | 15 Q