3v4l.org

run code in 300+ PHP versions simultaneously
<?php putenv('LC_ALL=ru_RU.UTF-8'); putenv('LANG=ru_RU'); putenv('LANGUAGE=ru_RU'); setlocale (LC_ALL, "ru_RU.UTF-8"); for($i=0; $i<7; $i++){ echo setlocale(LC_ALL, 0) . "<br>\n"; usleep(100); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 15
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 15
Branch analysis from position: 27
Branch analysis from position: 15
filename:       /in/WKAYi
function name:  (null)
number of ops:  28
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'putenv'
          1        SEND_VAL                                                 'LC_ALL%3Dru_RU.UTF-8'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'putenv'
          4        SEND_VAL                                                 'LANG%3Dru_RU'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'putenv'
          7        SEND_VAL                                                 'LANGUAGE%3Dru_RU'
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'setlocale'
         10        SEND_VAL                                                 6
         11        SEND_VAL                                                 'ru_RU.UTF-8'
         12        DO_ICALL                                                 
    6    13        ASSIGN                                                   !0, 0
         14      > JMP                                                      ->25
    7    15    >   INIT_FCALL                                               'setlocale'
         16        SEND_VAL                                                 6
         17        SEND_VAL                                                 0
         18        DO_ICALL                                         $6      
         19        CONCAT                                           ~7      $6, '%3Cbr%3E%0A'
         20        ECHO                                                     ~7
    8    21        INIT_FCALL                                               'usleep'
         22        SEND_VAL                                                 100
         23        DO_ICALL                                                 
    6    24        PRE_INC                                                  !0
         25    >   IS_SMALLER                                               !0, 7
         26      > JMPNZ                                                    ~10, ->15
   10    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.03 ms | 1395 KiB | 19 Q