Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет LWN.net ([info]syn_lwnheadline)
@ 2015-04-03 09:16:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
What to Expect When You're Expecting: PHP 7, Part 1 (Engine Yard)
The Engine Yard blog has an
introduction to the changes coming in the PHP 7 release
.
"My personal favorite addition to PHP 7 is the addition of the
Combined Comparison Operator, <=>,otherwise known as the
spaceship operator. [...] It effectively works like strcmp(), or
version_compare(), returning -1 if the left operand is smaller than the
right, 0 if they are equal, and 1 if the left is greater than the
right. The major difference being that it can be used on any two operands,
not just strings, but also integers, floats, arrays, etc.
"


(Читать комментарии) (Добавить комментарий)