Permalink
Browse files

5.4 compatibility - nullify secret argument

  • Loading branch information...
1 parent 95949b6 commit 5bfee65ef5dd6d9116488fa27e529a530fc14b3b @piotras committed Dec 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 php_midgard_object_class.c
@@ -34,7 +34,7 @@ static PHP_METHOD(midgard_object_class, factory)
zend_class_entry **pce = NULL;
#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 3
- if (zend_lookup_class_ex(class_name, class_name_length, 1, 0, &pce TSRMLS_CC) == FAILURE) {
+ if (zend_lookup_class_ex(class_name, class_name_length, NULL, 1, &pce TSRMLS_CC) == FAILURE) {
#else
if (zend_lookup_class_ex(class_name, class_name_length, 1, &pce TSRMLS_CC) == FAILURE) {
#endif

0 comments on commit 5bfee65

Please sign in to comment.