3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "2011-03-23 10:11:08 34 57 2 25,5 - 2011-03-23 10:11:12 67 54 3 3,5 - 2011-03-23 10:11:16 76 57 3 2,4 - 2011-03-23 10:11:18 39 41 2 25,5 +"; $output = str_replace("-","+", $input); $explode = explode("+", $output); print_r($output);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t8BFj
function name:  (null)
number of ops:  16
compiled vars:  !0 = $input, !1 = $output, !2 = $explode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2011-03-23++10%3A11%3A08++++34++57++2+++25%2C5++++-%0A2011-03-23++10%3A11%3A12++++67++54++3+++3%2C5+-%0A2011-03-23++10%3A11%3A16++++76++57++3+++2%2C4+-%0A2011-03-23++10%3A11%3A18++++39++41++2+++25%2C5++++%2B'
    8     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '-'
          3        SEND_VAL                                                 '%2B'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   10     7        INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '%2B'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !2, $6
   12    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.95 ms | 1394 KiB | 19 Q