3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = intval(strval("0919")); $test2 = intval(date('my')); var_dump($test2); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q3iOV
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test, !1 = $test2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CAST                                          6  ~2      '0919'
          1        CAST                                          4  ~3      ~2
          2        ASSIGN                                                   !0, ~3
    3     3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'my'
          5        DO_ICALL                                         $5      
          6        CAST                                          4  ~6      $5
          7        ASSIGN                                                   !1, ~6
    4     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
    5    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.11 ms | 1394 KiB | 17 Q