summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-07-29 16:27:32 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-07-29 16:27:32 +0000
commit70f72d39e46ade5eb1f83bc90805e64a26b89188 (patch)
treec0834e0fd1a6156f89fdef00eecb4f6e952ba957
parent22db4041320761e5ae76e3581797d7e0db009285 (diff)
downloadphp-git-70f72d39e46ade5eb1f83bc90805e64a26b89188.tar.gz
Fixed warning message generated when isset() or empty() are given invalid
offset type.
-rw-r--r--Zend/zend_vm_def.h2
-rw-r--r--Zend/zend_vm_execute.h24
2 files changed, 13 insertions, 13 deletions
diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h
index f3df3f0003..98befb3bb8 100644
--- a/Zend/zend_vm_def.h
+++ b/Zend/zend_vm_def.h
@@ -3303,7 +3303,7 @@ ZEND_VM_HELPER_EX(zend_isset_isempty_dim_prop_obj_handler, VAR|UNUSED|CV, CONST|
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h
index 86d68cb5ef..6d80a03f56 100644
--- a/Zend/zend_vm_execute.h
+++ b/Zend/zend_vm_execute.h
@@ -9123,7 +9123,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CONST(int prop_dim,
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -10542,7 +10542,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_TMP(int prop_dim, ZE
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -11999,7 +11999,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_VAR(int prop_dim, ZE
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -13829,7 +13829,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CV(int prop_dim, ZEN
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -14983,7 +14983,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_CONST(int prop_di
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -16023,7 +16023,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_TMP(int prop_dim,
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -17063,7 +17063,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_VAR(int prop_dim,
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -18466,7 +18466,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_CV(int prop_dim,
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -21013,7 +21013,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_CV_CONST(int prop_dim, Z
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -22424,7 +22424,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_CV_TMP(int prop_dim, ZEN
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -23872,7 +23872,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_CV_VAR(int prop_dim, ZEN
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}
@@ -25692,7 +25692,7 @@ static int zend_isset_isempty_dim_prop_obj_handler_SPEC_CV_CV(int prop_dim, ZEND
}
break;
default:
- zend_error(E_WARNING, "Illegal offset type in unset");
+ zend_error(E_WARNING, "Illegal offset type in isset or empty");
break;
}