3v4l.org

run code in 300+ 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:  14
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        INIT_FCALL                                               'preg_replace'
          7        SEND_VAL                                                 '%2F%5B%5E%21-%7E%5Cs%5D%2B%2F'
          8        SEND_VAL                                                 ''
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
    7    12        DO_ICALL                                                 
    9    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.55 ms | 1013 KiB | 15 Q