On 0807, ts wrote: > >>>>> "K" == KONTRA Gergely <kgergely / mlabdial.hit.bme.hu> writes: > > K> Is there something similar to C's static keyword? > K> I want a single function, which has to access and modify a permanent > K> variable. Any solution without bundling the function to a class? > Use a closure Could you be more verbose? Eg. how to print out how many times a function was called. Gergo -- +-[ Kontra, Gergely<kgergely / mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+