Never shall this happen again
Esse commit está contido em:
ptarjan
2013-03-23 00:50:35 -07:00
commit de Sara Golemon
commit a5b7b243d6
2 arquivos alterados com 15 adições e 0 exclusões
+12
Ver Arquivo
@@ -0,0 +1,12 @@
<?php
function a() {
$b = function ($c) {
static $d = 0;
var_dump($c + $d++);
};
$b(10);
$b(20);
$b(30);
}
a();
+3
Ver Arquivo
@@ -0,0 +1,3 @@
int(10)
int(21)
int(32)