Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
$db->Quote('%'.$db->escape($word, true).'%', false); // Quote и escape
-----
$this->_debug = intval($level); // приведение типа
$this->asset_id = (int) $asset->id; // и так
settype($tables, 'array'); // и даже так можно
list ($usec, $sec) = explode(' ', microtime());
return ((float) $usec + (float) $sec); // microtime(true)
----
define('JPATH_BASE', dirname(__FILE__)); // __DIR__
@JString::strpos($text, ' ', $length)
----
@preg_match('/-?[0-9]+(\.[0-9]+)?/', $result, $matches);
$result = @(float) $matches[0];
(int) $j = $i * 2;
(string) $s1 = $s;
----
(int) $k = (int) $i - (int) $j * 16;
$path = dirname(__FILE__) . '/' . $type . '/' . $type . '.php';
$parts = explode(DS, JPATH_BASE);
define('JPATH_ROOT', implode(DS, $parts));
class_exists('JLoader') or die;
Официальный релиз Joomla 2.5 поддерживает MS SQL Server и PostgreSQL