3v4l.org

run code in 500+ PHP versions simultaneously
<?php $uuid = "0eae4703-dce3-4643-91c9-0592cc330150"; $reference = rtrim(base64_encode(hex2bin(str_replace('-', '', $uuid))), '='); var_dump($reference);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ELhmt
function name:  (null)
number of ops:  18
compiled vars:  !0 = $uuid, !1 = $reference
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '0eae4703-dce3-4643-91c9-0592cc330150'
    4     1        INIT_FCALL                                                   'rtrim'
          2        INIT_FCALL                                                   'base64_encode'
          3        INIT_FCALL                                                   'hex2bin'
          4        FRAMELESS_ICALL_3                str_replace         ~3      '-', ''
          5        OP_DATA                                                      !0
          6        SEND_VAL                                                     ~3
          7        DO_ICALL                                             $4      
          8        SEND_VAR                                                     $4
          9        DO_ICALL                                             $5      
         10        SEND_VAR                                                     $5
         11        SEND_VAL                                                     '%3D'
         12        DO_ICALL                                             $6      
         13        ASSIGN                                                       !1, $6
    5    14        INIT_FCALL                                                   'var_dump'
         15        SEND_VAR                                                     !1
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.91 ms | 2219 KiB | 17 Q