3v4l.org

run code in 500+ PHP versions simultaneously
<?php $format = 'Y-m-d\TH:i:sO'; $timeString = '2018-09-04T16:15:55+0200'; $parsedTime = date_parse_from_format($format, $timeString); var_dump($parsedTime);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4vajJ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $format, !1 = $timeString, !2 = $parsedTime
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Y-m-d%5CTH%3Ai%3AsO'
    4     1        ASSIGN                                                       !1, '2018-09-04T16%3A15%3A55%2B0200'
    5     2        INIT_FCALL                                                   'date_parse_from_format'
          3        SEND_VAR                                                     !0
          4        SEND_VAR                                                     !1
          5        DO_ICALL                                             $5      
          6        ASSIGN                                                       !2, $5
    6     7        INIT_FCALL                                                   'var_dump'
          8        SEND_VAR                                                     !2
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
134.5 ms | 477 KiB | 9 Q