3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = array(); $array['references1'] = 'Foo1 ◻◻◻◻◻◻◻◻◻◻◻◻'; $array['references2'] = 'Foo2 ◻◻◻◻◻◻◻◻◻◻◻◻'; var_export( preg_replace('/[^!-~\s]+/', '', $array) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pU06X
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN_DIM                                                   !0, 'references1'
          2        OP_DATA                                                      'Foo1+%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB'
    5     3        ASSIGN_DIM                                                   !0, 'references2'
          4        OP_DATA                                                      'Foo2+%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB%E2%97%BB'
    7     5        INIT_FCALL                                                   'var_export'
    8     6        FRAMELESS_ICALL_3                preg_replace        ~4      '%2F%5B%5E%21-%7E%5Cs%5D%2B%2F', ''
          7        OP_DATA                                                      !0
          8        SEND_VAL                                                     ~4
    7     9        DO_ICALL                                                     
    9    10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.64 ms | 1861 KiB | 14 Q