Get the App
SLTechnology News&Howtos  ›  Development  › 

What should be paid attention to when using case in PHP

Shulou Source: shulou.com Published: 2022-06-03 06:21:15 11月16日 Update

This article will explain in detail what you need to pay attention to when using case in PHP. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

1. Variable names are case sensitive

The copy code is as follows:

The PHP function name is not case sensitive test:

The copy code is as follows:

The above code will report an error: (!) Fatal error: Cannot redeclare BBB ()

This is the end of the article on "what to pay attention to when using capitalization in PHP". I hope the above content can be helpful to you so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Code output size function variable article recommendation test uppercase constant more configuration good practical same content writing name instruction article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MySQL Huawei Linux Shulou Information