Tag » PHP5

Working with legacy code (PHP 4)

A brief history of my development history

I have been working with PHP for the last 10 years, I started off with procedural code and later switched to use more of an OOP approach. 711 altre parole

PHP

Enabling PHP 5 on Fedora 20

I've been trying to get Modx CMS installed on a Fedora 20 laptop and just getting permission denied errors for absolutely no (apparent) reason.
By searching  came across http://stackoverflow.com/questions/5326531/php-warning-unknown-failed-to-open-stream which suggests the following command: 
/sbin/restorecon -R /var/www/
As described at http://linuxquestions.org/questions/linux-server-73/ - not that this actually resolves to a page.

PHP 5 Tutorial Learn Classes And Object

PHP5TUTORIAL
The Third version of PHP provides the support for Object Oriented programming approach but not more usable like other Object Oriented programming languages. It’s some very simple concept of Oops and not more improved at the time of release of PHP version 4. 412 altre parole

Object Oriented Model

The php 5.5 upgrade struggle

Some things I’ve run into upgrading from Ubuntu 12.04 to 14.04. Someone else may find this useful.

  •  APC is gone, long live APCU.
    APCU is not backwards compatible; expect to (have your devs) make some solid code changes to support APC.
  • 390 altre parole
Linux

Hello, Again!

I chanced upon some amusing JAVA code today and decided to translate it into PHP. Here’s the code: 489 altre parole

PHP

PHP: Going to Zero

Following in the tradition of its predecessor Perl, PHP has its own secret operators (see “Inchworm on a Stick“).Today let’s explore the heretofore unknown PHP operator, “-–>”, most remarkable for quickly reducing a numerical value to zero. 886 altre parole

PHP