|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-01 00:11 UTC] waldschrott@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jan 07 06:00:01 2026 UTC |
<? $test="test"; function foo() { global $test; $test = $test . " - foo"; unset($test); } foo(); if (isset($test)) { echo "Set: $test"; } else { echo "Unset"; } echo "<br>"; unset($test); if (isset($test)) { echo "Set: $test"; } else { echo "Unset"; } ?> echos out: Set: test - foo Unset