3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Region Luzern, Apéro"; var_dump(intval(base_convert(bin2hex("Region Luzern, Apéro".session_id()), 16, 10)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hTakd
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Region+Luzern%2C+Ap%C3%A9ro'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'base_convert'
          3        INIT_FCALL                                               'bin2hex'
          4        INIT_FCALL                                               'session_id'
          5        DO_ICALL                                         $2      
          6        CONCAT                                           ~3      'Region+Luzern%2C+Ap%C3%A9ro', $2
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        SEND_VAL                                                 16
         11        SEND_VAL                                                 10
         12        DO_ICALL                                         $5      
         13        CAST                                          4  ~6      $5
         14        SEND_VAL                                                 ~6
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.18 ms | 1394 KiB | 21 Q