Re: Misspelling at http://de.php.net/manual/de/function.ksort.php

From: Date: Mon, 08 Jan 2007 19:34:04 +0000
Subject: Re: Misspelling at http://de.php.net/manual/de/function.ksort.php
References: 1 2  Groups: php.doc.de php.mirrors 
Request: Send a blank email to php-mirrors+get-33754@lists.php.net to get a copy of this message
Second try, hopefully got the address right now =) On 1/8/07, Hannes Magnusson <hannes.magnusson@gmail.com> wrote:
Bug reports should be filed at http://bugs.php.net Or at the least sent to correct mailing list (CCed) :) -Hannes On 1/8/07, Jörg Hoffmann <jh2000@root24.eu> wrote: Hello, (this has already been reported a long time ago... but nothing has changed...) at http://de.php.net/manual/de/function.ksort.php are 2 errors in the example:
                                  v---v d" -> "d"
<?php
$fruits = array(d"=>"Zitrone", "a"=>"Orange", "b"=>"Banane", "c"=>"Apfel");
ksort ($fruits);
foreach ($fruits as $key => $val) {
    echo "$key = $valn";
} ?>
                                      ^----^ $valn -> $val
i hope you see what i mean, the " is missing and the n is too much.. Greetings Jörg H. PHP-User & Unofficial mirror (php.root24.eu)


« previous php.mirrors (#33754) next »