79631479

Date: 2025-05-21 07:42:00
Score: 0.5
Natty:
Report link

Use ReflectionProperty

$class = new A;
$rp = new ReflectionProperty($class, 'property_name');
$rp->isInitialized($class); // returns true if initialized, even if null
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Mwthreex