3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo system('locale -a'); setlocale(LC_ALL, 'tr_TR.utf8', 'de_DE.utf8', 'de_DE@euro', 'de_DE', 'de', 'ge'); $foo = 29.95; echo 'Test '.$foo.' <br />'; echo date('l F');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VeaKM
function name:  (null)
number of ops:  22
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'system'
          1        SEND_VAL                                                 'locale+-a'
          2        DO_ICALL                                         $1      
          3        ECHO                                                     $1
    3     4        INIT_FCALL                                               'setlocale'
          5        SEND_VAL                                                 6
          6        SEND_VAL                                                 'tr_TR.utf8'
          7        SEND_VAL                                                 'de_DE.utf8'
          8        SEND_VAL                                                 'de_DE%40euro'
          9        SEND_VAL                                                 'de_DE'
         10        SEND_VAL                                                 'de'
         11        SEND_VAL                                                 'ge'
         12        DO_ICALL                                                 
    4    13        ASSIGN                                                   !0, 29.95
    6    14        CONCAT                                           ~4      'Test+', !0
         15        CONCAT                                           ~5      ~4, '+%3Cbr+%2F%3E'
         16        ECHO                                                     ~5
    7    17        INIT_FCALL                                               'date'
         18        SEND_VAL                                                 'l+F'
         19        DO_ICALL                                         $6      
         20        ECHO                                                     $6
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.43 ms | 1395 KiB | 19 Q