pinnwand

bpaste has migrated platforms. We now support self removal of pastes and will automatically import pastes from our old software for the following 2 months (that is, until the end of november 2014).

If you have any pastes you'd like to preserve please visit their URLs and they will be automatically imported with no expiry.

This paste never expires. Pasted by import. View raw.

1
2
3
4
5
6
7
8
9
Alexs-MacBook-Pro-2:rdio alex_gaynor$ php -a
Interactive shell

php > $a = false;
php > $a[] = 5;
php > $a = true;
php > $a[] = 5;

Warning: Cannot use a scalar value as an array in php shell code on line 1