PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
E_USER_DEPRECATED (integer) User-generated warning message. This is like an E_DEPRECATED, except it is generated in PHP code by using the PHP function trigger_error(). since PHP 5.3.0
There are 10 types of people in this world, those who understand binary and those who don't
E_USER_DEPRECATED is available only in php 5.3.0 + . I guess you are using an earlier php version.
You get 2 error messages. The first tells you that there is no constant E_USER_DEPRECATED (see above)
Then php says "Well maybe he meant to use a string 'E_USER_DEPRECATED'", and tries it. And that produces the second error message, which says in effect "you can't use a string here, you need an integer'".
Moral : you cant use trigger_error() with an error type which is not recognised by your php version.
so now first error msg gone .. .but the 2nd invalid error type still shows .. i just want to hide this msg .. page load perfectly and everything fine .. i dont knw for what this error msg and why is it showing ?