PHP 8.5.0 RC 2 available for testing

Voting

: min(three, zero)?
(Example: nine)

The Note You're Voting On

dovbysh at gmail dot com
18 years ago
Solution to post "php at hood dot id dot au 04-Mar-2007 10:56":

<?php
$a1
= array('a'=>'a');
$a2 = array('a'=>'b');

foreach (
$a1 as $k=>&$v)
$v = 'x';

echo
$a1['a']; // will echo x

unset($GLOBALS['v']);

foreach (
$a2 as $k=>$v)
{}

echo
$a1['a']; // will echo x

?>

<< Back to user notes page

AltStyle によって変換されたページ (->オリジナル) /