3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = "2015"; echo ${message/2015/2016};
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3bTsd
function name:  (null)
number of ops:  7
compiled vars:  !0 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2015'
    4     1        FETCH_CONSTANT                                   ~2      'message'
          2        DIV                                              ~3      ~2, 2015
          3        DIV                                              ~4      ~3, 2016
          4        FETCH_R                      local               ~5      ~4
          5        ECHO                                                     ~5
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.25 ms | 1392 KiB | 13 Q