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

📄 04c02-1.php

📁 介绍PHP5的给类型函数应用
💻 PHP
字号:
<?php$name = 'Ramsey';function print_and_change_name() {	// Declare the variable $name to be accessible within this function	global $name;		// Output this name, and then change the name.	echo "<p>{$name}</p>";	$name = 'Heather';}// Call the function once and it prints: 'Ramsey'print_and_change_name();// Call the function again, and it prints: 'Heather'print_and_change_name();?>

⌨️ 快捷键说明

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