3v4l.org

run code in 300+ PHP versions simultaneously
<?php $secret = 9292929; $data = '<?php $secret = 1111111; ?>'; $trigger = ".*)/e\0"; preg_replace( "/($trigger)/i", '<em> . strtoupper($1) . </em>', $data ); var_dump( $secret );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FiWm5
function name:  (null)
number of ops:  15
compiled vars:  !0 = $secret, !1 = $data, !2 = $trigger
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 9292929
    5     1        ASSIGN                                                   !1, '%3C%3Fphp+%24secret+%3D+1111111%3B+%3F%3E'
    6     2        ASSIGN                                                   !2, '.%2A%29%2Fe%00'
    9     3        INIT_FCALL                                               'preg_replace'
          4        ROPE_INIT                                     3  ~7      '%2F%28'
          5        ROPE_ADD                                      1  ~7      ~7, !2
          6        ROPE_END                                      2  ~6      ~7, '%29%2Fi'
          7        SEND_VAL                                                 ~6
          8        SEND_VAL                                                 '%3Cem%3E+.+strtoupper%28%241%29+.+%3C%2Fem%3E'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
   11    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.98 ms | 1394 KiB | 17 Q