3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data='201312181400'; echo $data; setlocale(LC_ALL,'pt_br'); echo date('dMY',$data); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MXHoH
function name:  (null)
number of ops:  12
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '201312181400'
    3     1        ECHO                                                     !0
    4     2        INIT_FCALL                                               'setlocale'
          3        SEND_VAL                                                 6
          4        SEND_VAL                                                 'pt_br'
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'dMY'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $3      
         10        ECHO                                                     $3
    6    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.7 ms | 1394 KiB | 17 Q