3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uuid = "0eae4703-dce3-4643-91c9-0592cc330150"; $reference = rtrim(base64_encode(hex2bin(str_replace('-', '', $uuid))), '='); var_dump($uuid);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CYVuv
function name:  (null)
number of ops:  21
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        INIT_FCALL                                               'str_replace'
          5        SEND_VAL                                                 '-'
          6        SEND_VAL                                                 ''
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        SEND_VAL                                                 '%3D'
         15        DO_ICALL                                         $6      
         16        ASSIGN                                                   !1, $6
    5    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.28 ms | 1395 KiB | 23 Q