Follow

Surprising (IMO) PHP behavior: 3v4l.org/uXNp7#v7.4.30

`array_unshift($array, 'foo'); array_unshift($array, 'bar');` does not cause the same result as `array_unshift($array, 'foo', 'bar');`.

Sign in to participate in the conversation
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.