mirror of
https://github.com/php-win-ext/phpy.git
synced 2026-03-25 01:12:16 +01:00
461 B
461 B
Object Operation
Creating an object of a class
object = phpy.Object("mysqli", arg1, arg2, arg3, ...)
Reading attributes
value = object.get("name")
Setting attributes
object.set("name", value)
Calling methods
return_value = object.call("name", arg1, arg2, arg3, ...)
Only object methods can be called using this syntax. For class static methods, please use the
phpy.call()function.