3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'aresa'; $value = 'someValue'; $user_id = 'someID'; var_dump("\n[start]" . time() . "|$name|$value|$user_id" . '[end]'); // this derefers $user_id somehow (end it probably evaled to false (which is 0) so $user_id[0] var_dump(PHP_EOL . '[start]' . time() . '|' . $name . '|' . $value . '|' . $user_id . '[end]');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0ZFZs
function name:  (null)
number of ops:  31
compiled vars:  !0 = $name, !1 = $value, !2 = $user_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'aresa'
    3     1        ASSIGN                                                   !1, 'someValue'
    4     2        ASSIGN                                                   !2, 'someID'
    5     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'time'
          5        DO_ICALL                                         $6      
          6        CONCAT                                           ~7      '%0A%5Bstart%5D', $6
          7        ROPE_INIT                                     6  ~9      '%7C'
          8        ROPE_ADD                                      1  ~9      ~9, !0
          9        ROPE_ADD                                      2  ~9      ~9, '%7C'
         10        ROPE_ADD                                      3  ~9      ~9, !1
         11        ROPE_ADD                                      4  ~9      ~9, '%7C'
         12        ROPE_END                                      5  ~8      ~9, !2
         13        CONCAT                                           ~12     ~7, ~8
         14        CONCAT                                           ~13     ~12, '%5Bend%5D'
         15        SEND_VAL                                                 ~13
         16        DO_ICALL                                                 
    6    17        INIT_FCALL                                               'var_dump'
         18        INIT_FCALL                                               'time'
         19        DO_ICALL                                         $15     
         20        CONCAT                                           ~16     '%0A%5Bstart%5D', $15
         21        CONCAT                                           ~17     ~16, '%7C'
         22        CONCAT                                           ~18     ~17, !0
         23        CONCAT                                           ~19     ~18, '%7C'
         24        CONCAT                                           ~20     ~19, !1
         25        CONCAT                                           ~21     ~20, '%7C'
         26        CONCAT                                           ~22     ~21, !2
         27        CONCAT                                           ~23     ~22, '%5Bend%5D'
         28        SEND_VAL                                                 ~23
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.76 ms | 1395 KiB | 17 Q