3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '{{{'; echo '+++'.preg_replace('/({|}|&#123;|&#125;|&#x7b;|&#x7d;)(?=\S)/', '$1 ', $value).'+++';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CaMHS
function name:  (null)
number of ops:  10
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%7B%7B'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%28%7B%7C%7D%7C%26%23123%3B%7C%26%23125%3B%7C%26%23x7b%3B%7C%26%23x7d%3B%29%28%3F%3D%5CS%29%2F'
          3        SEND_VAL                                                 '%241+'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        CONCAT                                           ~3      '%2B%2B%2B', $2
          7        CONCAT                                           ~4      ~3, '%2B%2B%2B'
          8        ECHO                                                     ~4
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.93 ms | 1398 KiB | 15 Q