Error message

  • Warning: date_timezone_set() expects parameter 1 to be DateTime, boolean given in format_date() (line 2040 of /home1/moitozoc/drupals/drupal-7.33/includes/common.inc).
  • Warning: date_format() expects parameter 1 to be DateTime, boolean given in format_date() (line 2050 of /home1/moitozoc/drupals/drupal-7.33/includes/common.inc).
  • Warning: date_timezone_set() expects parameter 1 to be DateTime, boolean given in format_date() (line 2040 of /home1/moitozoc/drupals/drupal-7.33/includes/common.inc).
  • Warning: date_format() expects parameter 1 to be DateTime, boolean given in format_date() (line 2050 of /home1/moitozoc/drupals/drupal-7.33/includes/common.inc).

PHP

PHP 5.4.37 Released

php.net - Thu, 2015-01-22 00:00
The PHP development team announces the immediate availability of PHP 5.4.37. Six security-related bugs were fixed in this release, including CVE-2015-0231, CVE-2014-9427 and CVE-2015-0232. All PHP 5.4 users are encouraged to upgrade to this version. For source downloads of PHP 5.4.37 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.6.5 is available

php.net - Thu, 2015-01-22 00:00
The PHP development team announces the immediate availability of PHP 5.6.5. This release fixes several bugs as well as CVE-2015-0231, CVE-2014-9427 and CVE-2015-0232. All PHP 5.6 users are encouraged to upgrade to this version. For source downloads of PHP 5.6.5 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.5.21 is released

php.net - Thu, 2015-01-22 00:00
The PHP development team announces the immediate availability of PHP 5.5.21. This release fixes several bugs as well as CVE-2015-0231, CVE-2014-9427 and CVE-2015-0232. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.21 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

Getting Started With Laravel Homestead

PHPBuilder.com - Thu, 2015-01-15 13:16
Laravel follows a slightly different approach to PHP development. Using ideas usually found in the .NET environment, such as Facades, and sporting an Inversion of Control Container, Laravel claims to be the future of PHP. Whether or not this is the case is too early to tell, but it certainly is popular.
Categories: PHP

PHP 5.4.36 Released

php.net - Thu, 2014-12-18 00:00
The PHP development team announces the immediate availability of PHP 5.4.36. Two security-related bugs were fixed in this release, including the fix for CVE-2014-8142. All PHP 5.4 users are encouraged to upgrade to this version. For source downloads of PHP 5.4.36 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.6.4 is available

php.net - Thu, 2014-12-18 00:00
The PHP development team announces the immediate availability of PHP 5.6.4. This release fixes several bugs and one CVE related to unserialization. All PHP 5.6 users are encouraged to upgrade to this version. For source downloads of PHP 5.6.4 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.5.20 is available

php.net - Thu, 2014-12-18 00:00
The PHP development team announces the immediate availability of PHP 5.5.20. This release fixes several bugs and one CVE related to unserialization. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.20 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

Advanced Mocking with PHPUnit

PHPBuilder.com - Wed, 2014-12-17 07:51
One way of constructing the mock object is to replace functions with stubs that just return NULL. This is useful for utility functions that call an external resource such as an API or database. This is useful for when you don't care what comes back, but the code you are testing calls a function that needs to be accounted for.
Categories: PHP

Using Global Variables in PHP

PHPBuilder.com - Wed, 2014-12-03 10:59
Leverage the power of global variables in PHP to make variables globally available and share data across functions and programs.
Categories: PHP

Test Driven Design with PHPUnit

PHPBuilder.com - Wed, 2014-11-19 11:00
Test Driven Design is the process of writing unit tests first (expecting them to fail) and then writing the code to make the tests pass. The benefits of doing this include: • forces the programmer to plan out the functionality head of time • forces the functions to be small, concise, and testable • leaves the programmer with a full unit test suite with 100% test coverage
Categories: PHP

PHP 5.4.35 Released

php.net - Fri, 2014-11-14 00:00
The PHP development team announces the immediate availability of PHP 5.4.35. 4 security-related bugs were fixed in this release, including the fix for CVE-2014-3710. All PHP 5.4 users are encouraged to upgrade to this version. For source downloads of PHP 5.4.35 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.6.3 is available

php.net - Thu, 2014-11-13 00:00
The PHP development team announces the immediate availability of PHP 5.6.3. This release fixes several bugs and one CVE in the fileinfo extension. All PHP 5.6 users are encouraged to upgrade to this version. For source downloads of PHP 5.6.3 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.5.19 is available

php.net - Thu, 2014-11-13 00:00
The PHP development team announces the immediate availability of PHP 5.5.19. This release fixes several bugs and one CVE in the fileinfo extension. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.19 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

Best Practices for Refactoring in PHP

PHPBuilder.com - Thu, 2014-10-30 09:31
A developer may consider his code as perfect if it runs successfully without any compile-time or run-time error. But there is always a scope of improvement in working code and refactoring improves the structure of existing code. The code, if not improved, may hamper the performance of an application considering factors such as memory, speed, reusability, etc.
Categories: PHP

PHP 5.6.2 is available

php.net - Thu, 2014-10-16 00:00
The PHP development team announces the immediate availability of PHP 5.6.2. Four security-related bugs were fixed in this release, including fixes for CVE-2014-3668, CVE-2014-3669 and CVE-2014-3670. All PHP 5.6 users are encouraged to upgrade to this version. For source downloads of PHP 5.6.2 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.4.34 Released

php.net - Thu, 2014-10-16 00:00
The PHP development team announces the immediate availability of PHP 5.4.34. 6 security-related bugs were fixed in this release, including fixes for CVE-2014-3668, CVE-2014-3669 and CVE-2014-3670. Also, a fix for OpenSSL which produced regressions was reverted. All PHP 5.4 users are encouraged to upgrade to this version. For source downloads of PHP 5.4.34 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

PHP 5.5.18 is available

php.net - Thu, 2014-10-16 00:00
The PHP development team announces the immediate availability of PHP 5.5.18. Several bugs were fixed in this release. A regression in OpenSSL introduced in PHP 5.5.17 has also been addressed in this release. PHP 5.5.18 also fixes 4 CVEs in different components. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.18 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
Categories: news, PHP

Closures in PHP Who Knew?

PHPBuilder.com - Wed, 2014-10-15 12:40
Closures (also known as anonymous functions or lambda functions) are just that - Anonymous or closed. They don't follow the standard function declaration, and can be created inline. If you've used any modern JavaScript library, you've already done this.
Categories: PHP

Pages