⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bug490.phpt

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 PHPT
字号:
--TEST--Bug #490  : Recursions not managed.--SKIPIF--<?php if (version_compare(PHP_VERSION, '4.9.9', '<=')) print 'PHP 5 required';?>--FILE--<?phperror_reporting(E_ALL);require_once 'Var_Dump.php';$vd = new Var_Dump(array('display_mode' => 'Text'));class c_parent {    function c_parent() {        $this->myChild = new child($this);        $this->myName = 'c_parent';    }}class child {    function child(& $c_parent) {        $this->myParent = & $c_parent;    }}echo $vd->toString(new c_parent());?>--EXPECTREGEX--object\(c_parent\)(#[0-9]+ )?\(2\) {  myChild => object\(child\)(#[0-9]+ )?\(1\) {    myParent => object\(c_parent\)(#[0-9]+ )?\(2\) {      myChild => object\(child\)(#[0-9]+ )?\(1\) {        myParent => \*RECURSION\*      }      myName => string\(8\) c_parent    }  }  myName => string\(8\) c_parent}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -