3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.28 ms | 1386 KiB | 19 Q