diff --git a/guide/english/php/object-oriented-programming/index.md b/guide/english/php/object-oriented-programming/index.md index 185df5d9815..e9463d34576 100644 --- a/guide/english/php/object-oriented-programming/index.md +++ b/guide/english/php/object-oriented-programming/index.md @@ -229,10 +229,8 @@ echo "\n\t" . $jack->beStubborn(); echo "\n\t" . $jack->notPutToiletPaper(); ``` -Now, we don’t have to set Jack’s name, age and height separately and print them anymore. Whenever we create Jack object, we just specify his properties as the parameters and they will get printed automatically by the help of the constructor. We can also put his favorite sports and drinks in the parameter if we want by +Now, we don’t have to set Jack’s name, age and height separately and print them anymore. Whenever we create Jack object, we just specify his properties as the parameters and they will get printed automatically by the help of the constructor. We can also put his favorite sports and drinks in the parameter if we want by specifying them as parameters while creating the object and putting the echo lines inside the constructor. -specifying them as parameters while creating the object and -putting the echo lines inside the constructor. You can visit here for more information on PHP implementation of constructors. Our OOP journey has been slow but steady.