3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( preg_replace('/[^A-Za-z0-9_\.\(\)]+/', '', trim('( if( refund.tr_refund_date IS NULL, 1, 0 ) ) DESC, refund.tr_refund_date')) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vAisD
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5EA-Za-z0-9_%5C.%5C%28%5C%29%5D%2B%2F'
          3        SEND_VAL                                                 ''
          4        INIT_FCALL                                               'trim'
          5        SEND_VAL                                                 '%28+if%28+refund.tr_refund_date+IS+NULL%2C+1%2C+0+%29+%29+DESC%2C+refund.tr_refund_date'
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.99 ms | 1394 KiB | 19 Q