3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = "12345"; $prefix = "F"; $id = $prefix . $id; echo base_convert($id, 16, 10); echo "\n"; echo base_convert(base_convert($id, 16, 10), 10, 16); echo "\n"; echo com_create_guid();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O6iZl
function name:  (null)
number of ops:  27
compiled vars:  !0 = $id, !1 = $prefix
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '12345'
    4     1        ASSIGN                                                   !1, 'F'
    5     2        CONCAT                                           ~4      !1, !0
          3        ASSIGN                                                   !0, ~4
    7     4        INIT_FCALL                                               'base_convert'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 16
          7        SEND_VAL                                                 10
          8        DO_ICALL                                         $6      
          9        ECHO                                                     $6
    8    10        ECHO                                                     '%0A'
    9    11        INIT_FCALL                                               'base_convert'
         12        INIT_FCALL                                               'base_convert'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 16
         15        SEND_VAL                                                 10
         16        DO_ICALL                                         $7      
         17        SEND_VAR                                                 $7
         18        SEND_VAL                                                 10
         19        SEND_VAL                                                 16
         20        DO_ICALL                                         $8      
         21        ECHO                                                     $8
   10    22        ECHO                                                     '%0A'
   11    23        INIT_FCALL_BY_NAME                                       'com_create_guid'
         24        DO_FCALL                                      0  $9      
         25        ECHO                                                     $9
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.18 ms | 1387 KiB | 15 Q