I am using Visual Studio Code and working on a PHP system. After my initial setup I havent actually changed anything - suddenly today though while working, all my mysql calls are showing as an error (underlined) and the tooltip is:
"Undefined function 'mysql_query'"
or whatever call is being used. This never happened before and I'm not sure what changed. The code does actually run when i use my Laragon server and test - but its messing with my code that we have so many errors appearing for no reason in my editor.
Does anyone know why this might happen, and a fix?
In terms of PHP extensions i have Intelephnse, PHP INtelliSense, PHP Extension pack, PHP Debug.
Clarification: The error comes from the tool, not from PHP itself. I am writing PHP 5. The code works. I know that this function was removed in PHP 7. I am not writing PHP 7. I want to configure the tool.