3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL,"es_MX"); $date = new \DateTime('2015-01-01T00:00:00.000Z'); echo utf8_encode(strftime('%c', $date->getTimestamp()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JUMQQ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'es_MX'
          3        DO_ICALL                                                 
    4     4        NEW                                              $2      'DateTime'
          5        SEND_VAL_EX                                              '2015-01-01T00%3A00%3A00.000Z'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $2
    5     8        INIT_FCALL                                               'utf8_encode'
          9        INIT_FCALL                                               'strftime'
         10        SEND_VAL                                                 '%25c'
         11        INIT_METHOD_CALL                                         !0, 'getTimestamp'
         12        DO_FCALL                                      0  $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                         $7      
         17        ECHO                                                     $7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.57 ms | 1394 KiB | 19 Q