sudhakarinfotech
(current)
Run Code
Live Code Editor- PHP Variable Naming Convention
Source Code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>PHP Variable Naming Convention</title> </head> <body> <h1>PHP Variable Naming Convention</h1> <?php $backendLanguage = 'php'; // valid $_cssFramework = 'bootstrap'; // valid - starts with an underscore $112frontendLanguage = 'javascript'; // invalid - cannot start with a number ?> </body> </html>
Source Code Output :
Running