3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_CTYPE, "en_US.UTF-8"); echo escapeshellarg("file with Danish æøå.jpg");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1DfpF
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 'en_US.UTF-8'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'escapeshellarg'
          5        SEND_VAL                                                 'file+with+Danish+%C3%A6%C3%B8%C3%A5.jpg'
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.99 ms | 1001 KiB | 15 Q