3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { /** * A-Z, 2-7 * New RFC that obsoleted RFC3548, uses the same alphabet. * * @var int */ const RFC4648 = 1; /** * 0-9, A-V * "Extended hex" or "base32hex" * * @var int */ const RFC2938 = 2; /** * 0-9, A-Z without I, L, O, U * * @link http://www.crockford.com/wrmg/base32.html * @var int */ const CROCKFORD = 3; /** * @var string */ const PAD_CHAR = '='; const ENCODE = 1; const DECODE = 1; /** * @var array */ protected $alphabet = [ self::RFC4648 =>[ self::ENCODE => [], self::DECODE => [], ], self::RFC2938 => [ self::ENCODE => [], self::DECODE => [], ], self::CROCKFORD => [ self::ENCODE => [], self::DECODE => [], ], ]; public function getAlphabet() { return $this->alphabet; } } $c = new C(); print_r($c->getA());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GNDj8
function name:  (null)
number of ops:  9
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   62     0  E >   NEW                                              $1      'C'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   64     3        INIT_FCALL                                               'print_r'
          4        INIT_METHOD_CALL                                         !0, 'getA'
          5        DO_FCALL                                      0  $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Class C:
Function getalphabet:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GNDj8
function name:  getAlphabet
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   58     0  E >   FETCH_OBJ_R                                      ~0      'alphabet'
          1      > RETURN                                                   ~0
   59     2*     > RETURN                                                   null

End of function getalphabet

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.79 ms | 1394 KiB | 15 Q