1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 14:01:01 +02:00
This commit is contained in:
Zeev Suraski
1999-08-17 22:00:02 +00:00
parent 96fd258d07
commit 65e6d82771

View File

@@ -2299,6 +2299,8 @@ PHP_FUNCTION(define)
case IS_LONG:
case IS_DOUBLE:
case IS_STRING:
case IS_BOOL:
case IS_RESOURCE:
break;
default:
php_error(E_WARNING,"Constants may only evaluate to scalar values");