3v4l.org

run code in 300+ PHP versions simultaneously
<?php // both lines output 813470400 $fromC = Carbon::createFromFormat('YYYYMM', '201803'); echo $fromC; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eSTvA
function name:  (null)
number of ops:  7
compiled vars:  !0 = $fromC
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_STATIC_METHOD_CALL                                  'Carbon', 'createFromFormat'
          1        SEND_VAL_EX                                              'YYYYMM'
          2        SEND_VAL_EX                                              '201803'
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    7     5        ECHO                                                     !0
    8     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.76 ms | 1392 KiB | 13 Q