3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Amsterdam'); setlocale(LC_ALL, 'nl_NL'); echo strftime('%l:%M %P'); setlocale(LC_ALL, 'en_EN'); echo strftime('%l:%M %P');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FBYPZ
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FAmsterdam'
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'setlocale'
          4        SEND_VAL                                                 6
          5        SEND_VAL                                                 'nl_NL'
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'strftime'
          8        SEND_VAL                                                 '%25l%3A%25M+%25P'
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
    8    11        INIT_FCALL                                               'setlocale'
         12        SEND_VAL                                                 6
         13        SEND_VAL                                                 'en_EN'
         14        DO_ICALL                                                 
    9    15        INIT_FCALL                                               'strftime'
         16        SEND_VAL                                                 '%25l%3A%25M+%25P'
         17        DO_ICALL                                         $4      
         18        ECHO                                                     $4
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.78 ms | 1399 KiB | 19 Q