Women in Technology

Hear us Roar



Hack:   PHP: use reflection to serilaize object data as JSON
Subject:   simpler
Date:   2010-05-25 12:10:26
From:   registrationsucks2
foreach (array_values($ref->getMethods()) as $method) is unnecessarily verbose. Just foreach ($ref->getMethods() as $method) will suffice