|
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-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 02:00:01 2025 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