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

📄 07c02-1.php

📁 介绍PHP5的给类型函数应用
💻 PHP
字号:
<?phpclass cd {	public $artist;	public $title;	protected $tracks;	private $disk_id;}// Instantiate an object of class 'cd'.$mydisk = new cd();// Now update the artist's name$mydisk->artist = 'The Child Song Singers';// Now try to update the protected or private values.// This will cause a fatal error:$mydisk->tracks = array('Wheels on the Bus', 'Mary had a Little Lamb');?>

⌨️ 快捷键说明

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