3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 020120142100; echo (int)$var.'<br>'; echo date( 'd-m-Y hh:mm:i', $var ).'<br>'; echo PHP_INT_SIZE.' '.PHP_INT_MAX; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/koZoG
function name:  (null)
number of ops:  12
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2168505408
    3     1        CAST                                          4  ~2      !0
          2        CONCAT                                           ~3      ~2, '%3Cbr%3E'
          3        ECHO                                                     ~3
    4     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'd-m-Y+hh%3Amm%3Ai'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        CONCAT                                           ~5      $4, '%3Cbr%3E'
          9        ECHO                                                     ~5
    5    10        ECHO                                                     '8+9223372036854775807'
    6    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
265.78 ms | 1394 KiB | 16 Q