I have this code:
if ( strpos( $_GET[ 'y' ], array( '/', '.', '\\', '%', '#', ';' ) ) === false
it worked fine on php5 but now on php 8 I get this error:
strpos(): Argument #2 ($needle) must be of type string, array given
Do I have to get rid of that line altogether or is there any alternative fix out there?