3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Some variables. $france = 'France'; $england = 'England'; // Set up keys of an array as pointers to the variables above. $storage = array(); $storage['fr'] = &$france; $storage['en'] = &$england; // Update the variable. $france = 'Angleterre'; $storage['en'] = 'lolwut'; // Updates the pointer map. print_r($storage); echo $england;

preferences:
53.95 ms | 402 KiB | 5 Q