|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-12-22 05:04 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 13:00:01 2025 UTC |
<?php echo "can edit: ".$c_edit; if (isset($c_edit)){ $edit=1; } else { $edit = 0; } $edit2 = isset($c_edit); echo "<br>edit: ".$edit; echo "<br>edit2: ".$edit2; ?> for php3.0.14 (http://stage.iensemble.com/beth/isset_test.php) , the above code returns thee same results for the variables $edit and $edit2. In php 4.0.1pl2 (http://www.ddeb3.org/php/isset_test.php), however, no value is returned for $edit2. This seems to happen whether on WinNT, Apache or Linux systems.