3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contents = 'sud' . str_repeat('a', 30000) . 'bccess'; $contents = preg_replace('/d(a)+b/', '', $contents); echo $contents;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KJniG
function name:  (null)
number of ops:  15
compiled vars:  !0 = $contents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 'a'
          2        SEND_VAL                                                 30000
          3        DO_ICALL                                         $1      
          4        CONCAT                                           ~2      'sud', $1
          5        CONCAT                                           ~3      ~2, 'bccess'
          6        ASSIGN                                                   !0, ~3
    3     7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAL                                                 '%2Fd%28a%29%2Bb%2F'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !0, $5
    4    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.97 ms | 1394 KiB | 17 Q