php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48017 [DE] Examples missing in german page on logical operators
Submitted: 2009-04-19 14:30 UTC Modified: 2009-11-20 15:13 UTC
From: momrom at freenet dot de Assigned: hholzgra (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: -
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: momrom at freenet dot de
New email:
PHP Version: OS:

 

 [2009-04-19 14:30 UTC] momrom at freenet dot de
Description:
------------
The examples from the english page are missing in german.

Expected result:
----------------
Wie auch in C werden logische Ausdr?cke von links nach rechts ausgewertet. Die Auswertung wird abgebrochen, sobald das Ergebnis vorhersehbar ist.

foo() wird in den folgenden F?llen nicht aufgerufen
<?php
$a = (false && foo());
$b = (true  || foo());
$c = (false and foo());
$d = (true  or  foo());
?>

"||" hat Vorrang vor "="
"=" hat Vorrang vor "or"

<?php
$e = false || true; // ?quivalent zu ($e = (false || true)), $e erh?lt den Wert true
$f = false or true; // ?quivalent zu (($f = false) or true), $f erh?lt den Wert false
?>

"&&" hat Vorrang vor "="
"=" hat Vorrang vor "and"
<?php
$g = true && false; // ?quivalent zu ($g = (true || false)), $g erh?lt den Wert false
$h = true and false; // ?quivalent zu (($h = true) and false), $h erh?lt den Wert true
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-20 15:13 UTC] svn@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=291090
Log: Added missing example, fixes #48017 (Examples missing in german page on logical operators)

# Hopefully my german isn't too sucky ;)
 [2009-11-20 15:13 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 17:01:29 2024 UTC