3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jan = strtotime("January"); $feb = strtotime("Feb"); echo date('d-m-y H:i:s',$jan)."\n"; echo date('d-m-y H:i:s',strtotime("January"))."\n"; echo date('d-m-y H:i:s',$feb)."\n"; echo date('d-m-y H:i:s',strtotime("February"))."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BJmP8
function name:  (null)
number of ops:  39
compiled vars:  !0 = $jan, !1 = $feb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'January'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 'Feb'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    4     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'd-m-y+H%3Ai%3As'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        CONCAT                                           ~7      $6, '%0A'
         13        ECHO                                                     ~7
    5    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'd-m-y+H%3Ai%3As'
         16        INIT_FCALL                                               'strtotime'
         17        SEND_VAL                                                 'January'
         18        DO_ICALL                                         $8      
         19        SEND_VAR                                                 $8
         20        DO_ICALL                                         $9      
         21        CONCAT                                           ~10     $9, '%0A'
         22        ECHO                                                     ~10
    6    23        INIT_FCALL                                               'date'
         24        SEND_VAL                                                 'd-m-y+H%3Ai%3As'
         25        SEND_VAR                                                 !1
         26        DO_ICALL                                         $11     
         27        CONCAT                                           ~12     $11, '%0A'
         28        ECHO                                                     ~12
    7    29        INIT_FCALL                                               'date'
         30        SEND_VAL                                                 'd-m-y+H%3Ai%3As'
         31        INIT_FCALL                                               'strtotime'
         32        SEND_VAL                                                 'February'
         33        DO_ICALL                                         $13     
         34        SEND_VAR                                                 $13
         35        DO_ICALL                                         $14     
         36        CONCAT                                           ~15     $14, '%0A'
         37        ECHO                                                     ~15
         38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.8 ms | 1396 KiB | 17 Q