|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-12 20:21 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 08:00:02 2025 UTC |
Description: ------------ Execute this and see the result. I cound't beleave it. After I've changed $mensagem I printed it to make choore it was changed. Than I test it and it ignores the change. Thanks. Reproduce code: --------------- <?php $mensagem = "1"; if ($mensagem = "1"){ $mensagem = "Erro - "; } echo $mensagem; if ($mensagem = "1"){ echo $mensagem; } ?> Execute this and see the result.