3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* A uniqid, like: 4b3403665fea6 */ printf("uniqid(): %s\r\n", uniqid()); /* We can also prefix the uniqid, this the same as * doing: * * $uniqid = $prefix . uniqid(); * $uniqid = uniqid($prefix); */ printf("uniqid('php_'): %s\r\n", uniqid('php_')); /* We can also activate the more_entropy parameter, which is * required on some systems, like Cygwin. This makes uniqid() * produce a value like: 4b340550242239.64159797 */ printf("uniqid('', true): %s\r\n", uniqid('', true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VDgMs
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 'uniqid%28%29%3A+%25s%0D%0A'
          2        INIT_FCALL                                               'uniqid'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
   12     6        INIT_FCALL                                               'printf'
          7        SEND_VAL                                                 'uniqid%28%27php_%27%29%3A+%25s%0D%0A'
          8        INIT_FCALL                                               'uniqid'
          9        SEND_VAL                                                 'php_'
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
   18    13        INIT_FCALL                                               'printf'
         14        SEND_VAL                                                 'uniqid%28%27%27%2C+true%29%3A+%25s%0D%0A'
         15        INIT_FCALL                                               'uniqid'
         16        SEND_VAL                                                 ''
         17        SEND_VAL                                                 <true>
         18        DO_ICALL                                         $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.06 ms | 1395 KiB | 17 Q