3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t=1; $code = '$t++;$t++;'; preg_replace('/(.*)/e', $code, '' ); echo $t;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wo41l
function name:  (null)
number of ops:  9
compiled vars:  !0 = $t, !1 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, '%24t%2B%2B%3B%24t%2B%2B%3B'
    4     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%2F%28.%2A%29%2Fe'
          4        SEND_VAR                                                 !1
          5        SEND_VAL                                                 ''
          6        DO_ICALL                                                 
    5     7        ECHO                                                     !0
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.49 ms | 1398 KiB | 15 Q