3v4l.org

run code in 300+ PHP versions simultaneously
<?php $base10 = 10; $base36 = 36; echo base_convert(31018063, $base10, $base36). PHP_EOL; echo base_convert("igtov", $base36, $base10);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ENKK6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $base10, !1 = $base36
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10
    4     1        ASSIGN                                                   !1, 36
    6     2        INIT_FCALL                                               'base_convert'
          3        SEND_VAL                                                 31018063
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        CONCAT                                           ~5      $4, '%0A'
          8        ECHO                                                     ~5
    8     9        INIT_FCALL                                               'base_convert'
         10        SEND_VAL                                                 'igtov'
         11        SEND_VAR                                                 !1
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $6      
         14        ECHO                                                     $6
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
204.16 ms | 1394 KiB | 15 Q