3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.33 ms | 1386 KiB | 17 Q