+ 8

Is it correct code??

I have seen this code but it gives error in php playground. How can I report about this code to sololearn ?? https://www.sololearn.com/post/764387/?ref=app

16th Nov 2020, 12:02 PM
Sâñtôsh
Sâñtôsh - avatar
5 Respostas
+ 5
It is correct. However, it's just deprecated because of case-insensitive. And that's what the message said.
16th Nov 2020, 12:18 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 2
CarrieForle but when I run this code on playground it is error occurred
16th Nov 2020, 12:21 PM
Sâñtôsh
Sâñtôsh - avatar
+ 1
This? "Deprecated: define(): Declaration of case-insensitive constants is deprecated in ./Playground/file0.php on line 2 Deprecated: Case-insensitive constants are deprecated. The correct casing for this constant is "MSG" in ./Playground/file0.php on line 3 Hi SoloLearners!" It's telling you it's deprecated. You can stop from showing this by putting error_reporting(E_ALL ^ E_DEPRECATED); This line will stop the code showing deprecated code errors.
16th Nov 2020, 12:29 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
Yes
18th Nov 2020, 11:14 AM
G.VENNELA
G.VENNELA - avatar
0
arabic
30th Nov 2020, 5:15 PM
Elias Alwalidee
Elias Alwalidee - avatar