3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Demonstrating inline PHP attribute issue in PHP7.x and below. */ function php7x_attributes( string $foo, #[\SensitiveParameter] string $bar ) { throw new \Exception( 'Testing SensitiveParameter attribute' ); } php7x_attributes( 'login', 'password' );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
154.52 ms | 3401 KiB | 9 Q