3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_TIME, "C"); echo strftime("%A"); setlocale(LC_TIME, "fi_FI"); echo strftime(" in Finnish is %A,"); setlocale(LC_TIME, "fr_FR"); echo strftime(" in French %A and"); setlocale(LC_TIME, "de_DE"); echo strftime(" in German %A.\n"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eDI7q
function name:  (null)
number of ops:  33
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 2
          2        SEND_VAL                                                 'C'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'strftime'
          5        SEND_VAL                                                 '%25A'
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
    4     8        INIT_FCALL                                               'setlocale'
          9        SEND_VAL                                                 2
         10        SEND_VAL                                                 'fi_FI'
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'strftime'
         13        SEND_VAL                                                 '+in+Finnish+is+%25A%2C'
         14        DO_ICALL                                         $3      
         15        ECHO                                                     $3
    6    16        INIT_FCALL                                               'setlocale'
         17        SEND_VAL                                                 2
         18        SEND_VAL                                                 'fr_FR'
         19        DO_ICALL                                                 
    7    20        INIT_FCALL                                               'strftime'
         21        SEND_VAL                                                 '+in+French+%25A+and'
         22        DO_ICALL                                         $5      
         23        ECHO                                                     $5
    8    24        INIT_FCALL                                               'setlocale'
         25        SEND_VAL                                                 2
         26        SEND_VAL                                                 'de_DE'
         27        DO_ICALL                                                 
    9    28        INIT_FCALL                                               'strftime'
         29        SEND_VAL                                                 '+in+German+%25A.%0A'
         30        DO_ICALL                                         $7      
         31        ECHO                                                     $7
   10    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.09 ms | 1396 KiB | 17 Q