3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sMsgId = date('YmdHis').str_pad(preg_replace('/^.+\./', '', microtime(true)), 4, '0', STR_PAD_LEFT); echo '<pre>'; var_dump($sMsgId); echo '</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mU4Bu
function name:  (null)
number of ops:  25
compiled vars:  !0 = $sMsgId
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'YmdHis'
          2        DO_ICALL                                         $1      
          3        INIT_FCALL                                               'str_pad'
          4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2F%5E.%2B%5C.%2F'
          6        SEND_VAL                                                 ''
          7        INIT_FCALL                                               'microtime'
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        SEND_VAL                                                 4
         14        SEND_VAL                                                 '0'
         15        SEND_VAL                                                 0
         16        DO_ICALL                                         $4      
         17        CONCAT                                           ~5      $1, $4
         18        ASSIGN                                                   !0, ~5
    4    19        ECHO                                                     '%3Cpre%3E'
    5    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
    6    23        ECHO                                                     '%3C%2Fpre%3E'
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.54 ms | 1395 KiB | 23 Q