3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_convert_case("AあいうえおBBcC", MB_CASE_UPPER, "ISO-2022-JP")); var_dump(mb_strtoupper("AあいうえおBBcC", "ISO-2022-JP")); var_dump(mb_strtolower("AあいうえおBBcC", "ISO-2022-JP")); var_dump(mb_stripos("AあいうえおBBcC", "?", 0, "ISO-2022-JP")); var_dump(mb_strpos("AあいうえおBBcC", "?", 0, "ISO-2022-JP")); var_dump(mb_strpos("AあいうえおBBcC", "?", 0, "SJIS")); var_dump(mb_stripos("AあいうえおBBcC", "?", 0, "SJIS")); mb_substitute_character("none"); var_dump(mb_convert_case("AあいうえおBBcC", MB_CASE_UPPER, "ISO-2022-JP")); var_dump(mb_strtoupper("AあいうえおBBcC", "ISO-2022-JP")); var_dump(mb_strtolower("AあいうえおBBcC", "ISO-2022-JP")); var_dump(mb_stripos("AあいうえおBBcC", "?", 0, "ISO-2022-JP")); var_dump(mb_strpos("AあいうえおBBcC", "?", 0, "ISO-2022-JP")); var_dump(mb_strpos("AあいうえおBBcC", "?", 0, "SJIS")); var_dump(mb_stripos("AあいうえおBBcC", "?", 0, "SJIS"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EfRD5
function name:  (null)
number of ops:  120
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'mb_convert_case'
          2        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 'ISO-2022-JP'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'mb_strtoupper'
         10        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         11        SEND_VAL                                                 'ISO-2022-JP'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                                 
    4    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'mb_strtolower'
         17        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         18        SEND_VAL                                                 'ISO-2022-JP'
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
         21        DO_ICALL                                                 
    5    22        INIT_FCALL                                               'var_dump'
         23        INIT_FCALL                                               'mb_stripos'
         24        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         25        SEND_VAL                                                 '%3F'
         26        SEND_VAL                                                 0
         27        SEND_VAL                                                 'ISO-2022-JP'
         28        DO_ICALL                                         $6      
         29        SEND_VAR                                                 $6
         30        DO_ICALL                                                 
    6    31        INIT_FCALL                                               'var_dump'
         32        INIT_FCALL                                               'mb_strpos'
         33        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         34        SEND_VAL                                                 '%3F'
         35        SEND_VAL                                                 0
         36        SEND_VAL                                                 'ISO-2022-JP'
         37        DO_ICALL                                         $8      
         38        SEND_VAR                                                 $8
         39        DO_ICALL                                                 
    8    40        INIT_FCALL                                               'var_dump'
         41        INIT_FCALL                                               'mb_strpos'
         42        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         43        SEND_VAL                                                 '%3F'
         44        SEND_VAL                                                 0
         45        SEND_VAL                                                 'SJIS'
         46        DO_ICALL                                         $10     
         47        SEND_VAR                                                 $10
         48        DO_ICALL                                                 
    9    49        INIT_FCALL                                               'var_dump'
         50        INIT_FCALL                                               'mb_stripos'
         51        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         52        SEND_VAL                                                 '%3F'
         53        SEND_VAL                                                 0
         54        SEND_VAL                                                 'SJIS'
         55        DO_ICALL                                         $12     
         56        SEND_VAR                                                 $12
         57        DO_ICALL                                                 
   11    58        INIT_FCALL                                               'mb_substitute_character'
         59        SEND_VAL                                                 'none'
         60        DO_ICALL                                                 
   12    61        INIT_FCALL                                               'var_dump'
         62        INIT_FCALL                                               'mb_convert_case'
         63        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         64        SEND_VAL                                                 0
         65        SEND_VAL                                                 'ISO-2022-JP'
         66        DO_ICALL                                         $15     
         67        SEND_VAR                                                 $15
         68        DO_ICALL                                                 
   13    69        INIT_FCALL                                               'var_dump'
         70        INIT_FCALL                                               'mb_strtoupper'
         71        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         72        SEND_VAL                                                 'ISO-2022-JP'
         73        DO_ICALL                                         $17     
         74        SEND_VAR                                                 $17
         75        DO_ICALL                                                 
   14    76        INIT_FCALL                                               'var_dump'
         77        INIT_FCALL                                               'mb_strtolower'
         78        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         79        SEND_VAL                                                 'ISO-2022-JP'
         80        DO_ICALL                                         $19     
         81        SEND_VAR                                                 $19
         82        DO_ICALL                                                 
   15    83        INIT_FCALL                                               'var_dump'
         84        INIT_FCALL                                               'mb_stripos'
         85        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         86        SEND_VAL                                                 '%3F'
         87        SEND_VAL                                                 0
         88        SEND_VAL                                                 'ISO-2022-JP'
         89        DO_ICALL                                         $21     
         90        SEND_VAR                                                 $21
         91        DO_ICALL                                                 
   16    92        INIT_FCALL                                               'var_dump'
         93        INIT_FCALL                                               'mb_strpos'
         94        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
         95        SEND_VAL                                                 '%3F'
         96        SEND_VAL                                                 0
         97        SEND_VAL                                                 'ISO-2022-JP'
         98        DO_ICALL                                         $23     
         99        SEND_VAR                                                 $23
        100        DO_ICALL                                                 
   18   101        INIT_FCALL                                               'var_dump'
        102        INIT_FCALL                                               'mb_strpos'
        103        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
        104        SEND_VAL                                                 '%3F'
        105        SEND_VAL                                                 0
        106        SEND_VAL                                                 'SJIS'
        107        DO_ICALL                                         $25     
        108        SEND_VAR                                                 $25
        109        DO_ICALL                                                 
   19   110        INIT_FCALL                                               'var_dump'
        111        INIT_FCALL                                               'mb_stripos'
        112        SEND_VAL                                                 'A%E3%81%82%E3%81%84%E3%81%86%E3%81%88%E3%81%8ABBcC'
        113        SEND_VAL                                                 '%3F'
        114        SEND_VAL                                                 0
        115        SEND_VAL                                                 'SJIS'
        116        DO_ICALL                                         $27     
        117        SEND_VAR                                                 $27
        118        DO_ICALL                                                 
        119      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.46 ms | 1475 KiB | 20 Q