zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);
zval tmp;
if (Z_TYPE_P(offset) != IS_LONG) {
- if (Z_TYPE_P(offset) <= IS_BOOL /* simple scalar types */
+ if (!Z_REFCOUNTED_P(offset) /* simple scalar types */
|| (Z_TYPE_P(offset) == IS_STRING /* or numeric string */
&& IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) {
ZVAL_DUP(&tmp, offset);