timwaagh
timwaagh

Reputation: 323

remove non-user constant php

I'm trying to remove the STDIN constant for debugging purposes, however

phpdbg> ev runkit_constant_remove('STDIN')
[PHP Warning:  runkit_constant_remove(): Only user defined constants may be removed. in eval()'d code on line 1]

So I would like to know whether there exists any way in php to remove these non-user constants.

Upvotes: 1

Views: 185

Answers (0)

Related Questions