3v4l.org

run code in 300+ PHP versions simultaneously
<?php $colors->{'red'} = '#ff0000'; $colors->{'blue'} = '#0000ff'; $shortnames{'Robert'} = 'Bob'; $shortnames{'James'} = 'Jim'; print_r($colors,$shortnames);

This is an error 404

There are `0` results


preferences:
140.69 ms | 1399 KiB | 7 Q