Closure in PHP PRO

Closure is a function or a reference for a function together with a table that includes references for each one of the non local variables that exist within the outer scope of the closure. Unlike a plain function pointer the closure can use those non local variables that belong to its outer scope even when […]

PHP Profiling using Zend Studio PRO

Zend Studio allows us to profile the code we write in PHP using an easy to use profiler it already includes. The following video clip shows how simple it is.

PHP Mobile Applications HIT December 2012 INFO

On December 11th I started to deliver a detailed professional course for cross platform web and mobile applications development. The course focuses on PHP for the server side and focus on JavaScript for the client side. The course includes 220 academic hours and it takes place in HIT. You can find detailed information about this […]

PHP 5.4 New Features Lecture PRO

On October 14th I lectures in HIT about PHP 5.4 new features. The focus was on traits. Overviewing the traits topic we looked over those cases in which traits can be useful. You can download the slides and find more training material that cover PHP 5.4 new features at www.abelski.org.

PHP, Java EE & .NET Comparison Lecture PRO

I want to thank all attendees who came to the lecture I gave on October 11th in Holon Institute of Technology. The slides can be downloaded and the first steps towards learning the topics mentioned during the lecture can be done using the training material I publish for free personal and academic usage at www.abelski.org.  

The Difference Between include and require in PHP PRO

Basically, the require and the include commands in PHP do the same thing. Both of them allows our code to use code written in another file by including it into the file we code as if it was part of it. The only difference takes place when encountering a problem. When using require the problem […]

The __PHP_Incomplete_Class Object in PHP PRO

When storing an object in $_SESSION trying to retrieve it in another page we will get an error if the class itself is not available when the session_start() function builds the $_SESSION array. Debugging the $_SESSION we will find that our object is available and is stored as a __PHP_Incomplete_Class object. In order to avoid […]

Facebook PHP SDK Jump Start INFO

The Facebook PHP SDK is composed of two files: facebook.php and base_facebook.php. The first includes the definition for the Facebook class. The second includes the definition for the BaseFacebook class, which is a parent class for Facebook together with few more classes. You can easily download the Facebook PHP SDK at https://github.com/facebook/facebook-php-sdk. The following video […]

The sscanf Function in PHP PRO

This function allows us to extract values from a string that applies a specific pattern. Each place holder (e.g. %s) refers a specific value in our string. Each value that matches a specific place holder is assigned to a variable. We should pass over our variable to be assigned by the values that match the […]

The setlocale Function in PHP PRO

Calling this function we can apply a specific locale (combination of a language, a country and possible few more values) on our program. The first argument should be a constant that specifies on what do we want to apply the new locale (e.g. LC_NUMERIC will apply our locale on the decimal separator). The second argument […]

Skip to content Update cookies preferences