Mantis - Quercus
Viewing Issue Advanced Details
3132 minor always 12-06-08 23:38 12-10-08 09:15
koreth  
nam  
normal  
closed 3.2.1  
fixed  
none    
none 4.0.0  
0003132: property_exists not implemented
<?php
class Foo {
  var $bar;
}
if (property_exists(new Foo(), 'bar')) {
  print "exists";
}

Vanilla PHP prints "exists". Quercus prints "Fatal Error: 'property_exists' is an unknown function."

Low priority; I can implement this in PHP using get_object_vars().

Notes
(0003593)
nam   
12-10-08 09:15   
php/1j0i