3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(gmdate('r')); setlocale(LC_ALL, 'nl_NL'); var_dump(gmdate('r')); setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge'); var_dump(gmdate('r'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9IBok
function name:  (null)
number of ops:  30
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'gmdate'
          2        SEND_VAL                                                 'r'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'setlocale'
          7        SEND_VAL                                                 6
          8        SEND_VAL                                                 'nl_NL'
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'gmdate'
         12        SEND_VAL                                                 'r'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                                 
    5    16        INIT_FCALL                                               'setlocale'
         17        SEND_VAL                                                 6
         18        SEND_VAL                                                 'de_DE%40euro'
         19        SEND_VAL                                                 'de_DE'
         20        SEND_VAL                                                 'de'
         21        SEND_VAL                                                 'ge'
         22        DO_ICALL                                                 
    6    23        INIT_FCALL                                               'var_dump'
         24        INIT_FCALL                                               'gmdate'
         25        SEND_VAL                                                 'r'
         26        DO_ICALL                                         $6      
         27        SEND_VAR                                                 $6
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.22 ms | 1387 KiB | 19 Q