3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ // \h 0x0009 => 'horizontal tab', 0x0020 => 'space', 0x00a0 => 'nbsp', // \v 0x000a => 'LF', 0x000b => 'vertical tab', 0x000c => 'form feed', 0x000d => 'CR' ]; echo "hex\tdec\tdesc\tchr\tchr.utf8\n"; foreach($a as $code => $desc) { printf("%X\t%d\t%s: '%s'-'%s'\n", $code, $code, $desc, chr($code), utf8_encode(chr($code))); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 23
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 23
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/MATQg
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $desc, !2 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        ECHO                                                     'hex%09dec%09desc%09chr%09chr.utf8%0A'
   17     2      > FE_RESET_R                                       $4      !0, ->23
          3    > > FE_FETCH_R                                       ~5      $4, !1, ->23
          4    >   ASSIGN                                                   !2, ~5
   18     5        INIT_FCALL                                               'printf'
          6        SEND_VAL                                                 '%25X%09%25d%09%25s%3A+%27%25s%27-%27%25s%27%0A'
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !2
          9        SEND_VAR                                                 !1
         10        INIT_FCALL                                               'chr'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        INIT_FCALL                                               'utf8_encode'
         15        INIT_FCALL                                               'chr'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                         $8      
         18        SEND_VAR                                                 $8
         19        DO_FCALL_BY_NAME                                         
         20        SEND_VAR                                                 $9
         21        DO_ICALL                                                 
   17    22      > JMP                                                      ->3
         23    >   FE_FREE                                                  $4
   19    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.63 ms | 981 KiB | 16 Q