3v4l.org

run code in 300+ PHP versions simultaneously
<?php $VIN='123456'; $test=sprintf("VIN: '$VIN'"); echo $test;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8poWZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $VIN, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '123456'
    4     1        INIT_FCALL                                               'sprintf'
          2        ROPE_INIT                                     3  ~4      'VIN%3A+%27'
          3        ROPE_ADD                                      1  ~4      ~4, !0
          4        ROPE_END                                      2  ~3      ~4, '%27'
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
    6     8        ECHO                                                     !1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.36 ms | 1394 KiB | 15 Q