3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (preg_split('/,\s*/', '__halt_compiler,abstract,and,array,as,break,callable,case,catch,class,clone,const,continue,declare,default, die,do,echo,else,elseif,empty,enddeclare,endfor,endforeach,endif,endswitch,endwhile,eval,exit,extends,final, finally,for,foreach,function,global,goto,if,implements,include,include_once,instanceof,insteadof,interface, isset,list,namespace,new,or,print,private,protected,public,require,require_once,return,static,switch,throw, trait,try,unset,use,var,while,xor,yield' ) as $keyword) { try { printf("%20s: ", $keyword); eval("echo $keyword::class;"); } catch (Throwable $t) { echo $t->getMessage(), "\n"; } }

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 21
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 21
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
Found catch point at position: 15
Branch analysis from position: 15
2 jumps found. (Code = 107) Position 1 = 16, Position 2 = -2
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
filename:       /in/FohH3
function name:  (null)
number of ops:  23
compiled vars:  !0 = $keyword, !1 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_split'
          1        SEND_VAL                                                 '%2F%2C%5Cs%2A%2F'
    4     2        SEND_VAL                                                 '__halt_compiler%2Cabstract%2Cand%2Carray%2Cas%2Cbreak%2Ccallable%2Ccase%2Ccatch%2Cclass%2Cclone%2Cconst%2Ccontinue%2Cdeclare%2Cdefault%2C%0A++++die%2Cdo%2Cecho%2Celse%2Celseif%2Cempty%2Cenddeclare%2Cendfor%2Cendforeach%2Cendif%2Cendswitch%2Cendwhile%2Ceval%2Cexit%2Cextends%2Cfinal%2C%0A++++finally%2Cfor%2Cforeach%2Cfunction%2Cglobal%2Cgoto%2Cif%2Cimplements%2Cinclude%2Cinclude_once%2Cinstanceof%2Cinsteadof%2Cinterface%2C%0A++++isset%2Clist%2Cnamespace%2Cnew%2Cor%2Cprint%2Cprivate%2Cprotected%2Cpublic%2Crequire%2Crequire_once%2Creturn%2Cstatic%2Cswitch%2Cthrow%2C%0A++++trait%2Ctry%2Cunset%2Cuse%2Cvar%2Cwhile%2Cxor%2Cyield'
    3     3        DO_ICALL                                         $2      
    4     4      > FE_RESET_R                                       $3      $2, ->21
          5    > > FE_FETCH_R                                               $3, !0, ->21
   11     6    >   INIT_FCALL                                               'printf'
          7        SEND_VAL                                                 '%2520s%3A+'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
   12    10        ROPE_INIT                                     3  ~6      'echo+'
         11        ROPE_ADD                                      1  ~6      ~6, !0
         12        ROPE_END                                      2  ~5      ~6, '%3A%3Aclass%3B'
         13        INCLUDE_OR_EVAL                                          ~5, EVAL
         14      > JMP                                                      ->20
   13    15  E > > CATCH                                       last         'Throwable'
   14    16    >   INIT_METHOD_CALL                                         !1, 'getMessage'
         17        DO_FCALL                                      0  $9      
         18        ECHO                                                     $9
         19        ECHO                                                     '%0A'
    3    20    > > JMP                                                      ->5
         21    >   FE_FREE                                                  $3
   16    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.34 ms | 1000 KiB | 15 Q