3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_unique_id(){ return uniqid("nat_", true); } $output = get_unique_id(); echo $output; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mH7Jh
function name:  (null)
number of ops:  5
compiled vars:  !0 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'get_unique_id'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
    8     3        ECHO                                                     !0
    9     4      > RETURN                                                   1

Function get_unique_id:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mH7Jh
function name:  get_unique_id
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'uniqid'
          1        SEND_VAL                                                 'nat_'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $0      
          4      > RETURN                                                   $0
    6     5*     > RETURN                                                   null

End of function get_unique_id

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.91 ms | 1396 KiB | 16 Q