3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($_SERVER); setlocale(LC_ALL, 'ru_RU.CP1251'); if (count($_SERVER) === 21) { mb_internal_encoding('UTF-8'); $crc32 = crc32(mb_strtolower(str_replace('ё', 'е', 'Алёна'))); } else { $crc32 = crc32(strtolower(str_replace('ё', 'е', 'Алёна'))); } setlocale(LC_ALL, null); var_dump($crc32);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 28
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 40
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RVZPE
function name:  (null)
number of ops:  48
compiled vars:  !0 = $crc32
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_R                      global              ~1      '_SERVER'
          2        SEND_VAL                                                 ~1
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'setlocale'
          5        SEND_VAL                                                 6
          6        SEND_VAL                                                 'ru_RU.CP1251'
          7        DO_ICALL                                                 
    7     8        FETCH_R                      global              ~4      '_SERVER'
          9        COUNT                                            ~5      ~4
         10        IS_IDENTICAL                                             ~5, 21
         11      > JMPZ                                                     ~6, ->28
    8    12    >   INIT_FCALL                                               'mb_internal_encoding'
         13        SEND_VAL                                                 'UTF-8'
         14        DO_ICALL                                                 
    9    15        INIT_FCALL                                               'crc32'
         16        INIT_FCALL                                               'mb_strtolower'
         17        INIT_FCALL                                               'str_replace'
         18        SEND_VAL                                                 '%D1%91'
         19        SEND_VAL                                                 '%D0%B5'
         20        SEND_VAL                                                 '%D0%90%D0%BB%D1%91%D0%BD%D0%B0'
         21        DO_ICALL                                         $8      
         22        SEND_VAR                                                 $8
         23        DO_ICALL                                         $9      
         24        SEND_VAR                                                 $9
         25        DO_ICALL                                         $10     
         26        ASSIGN                                                   !0, $10
         27      > JMP                                                      ->40
   11    28    >   INIT_FCALL                                               'crc32'
         29        INIT_FCALL                                               'strtolower'
         30        INIT_FCALL                                               'str_replace'
         31        SEND_VAL                                                 '%D1%91'
         32        SEND_VAL                                                 '%D0%B5'
         33        SEND_VAL                                                 '%D0%90%D0%BB%D1%91%D0%BD%D0%B0'
         34        DO_ICALL                                         $12     
         35        SEND_VAR                                                 $12
         36        DO_ICALL                                         $13     
         37        SEND_VAR                                                 $13
         38        DO_ICALL                                         $14     
         39        ASSIGN                                                   !0, $14
   15    40    >   INIT_FCALL                                               'setlocale'
         41        SEND_VAL                                                 6
         42        SEND_VAL                                                 null
         43        DO_ICALL                                                 
   16    44        INIT_FCALL                                               'var_dump'
         45        SEND_VAR                                                 !0
         46        DO_ICALL                                                 
         47      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.65 ms | 1400 KiB | 27 Q