Category Archives: PHP

Cum4k – the best website in its niche (made in PHP)

Great creampie xxx site, only the messiest and stickiest hardcore porn movies await you inside Cum4K. This site is written in PHP, it is very fast and secure thanks to Https Protocol. The name of the site is true to what it promises and you can easily see that once you visit the official porn [...]

Posted in PHP | Leave a comment

Parsing XML in PHP

PHP offers several methods for parsing XML files. This example uses the built-in DOM functionality for PHP5.

Posted in PHP | Leave a comment

Inheritance in PHP

Classes can contain subclasses and subclasses can in turn contain superclasses. For example, the class Person could be the superclass of the class PizzaDeliveryGuy.

Posted in PHP | Leave a comment

Constructors and destructors in PHP

You might want to execute code when an instance of an object gets constructed or destructed. PHP offers constructors and destructors for this purpose. A constructor can be created by declaring a function called __construct within a class and a destructor can in turn be created by declaring a function called __destruct . <?php class [...]

Posted in PHP | Leave a comment

Creating a class in PHP

Creating a class  in PHP consists of the following code. <?php class Foo { } ?> //

Posted in PHP | Leave a comment
  • Advertisement

  • Categories