如何在Php中取消设置数组 [英] How Can I Unset Array In Php

查看:91
本文介绍了如何在Php中取消设置数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个数组,它计算一些整数值,然后总结所有,我想取消设置这个数组,新值应该storde ..有没有办法做到这一点?



i当我取消设置并再次初始化数组时会出现此错误



不支持的操作数类型



任何帮助将不胜感激

i have an array which calculates the some integer value and then sum up all and i want to unset this array and new values should be storde .. is there a way to do this?

i am getting this error when i unset and again initialize array

"Unsupported operand types"

any help would be appreciated

推荐答案

这篇关于如何在Php中取消设置数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆