3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.87 ms | 2586 KiB | 16 Q