PHP 2013
-
Upload
alicantephp -
Category
Technology
-
view
398 -
download
1
Transcript of PHP 2013
Próxima reunión: Lunes 17 de Junio
Pablo GodelDespliegue de aplicaciones PHP
Fundador de ServerGroveCreador de la mailing-list de PHP en español
Viviendo en USA desde 1999
1.0 08-06-19952.0 01-11-19973.0 06-06-19984.0 22-05-20005.0 13-07-20045.1 24-11-20055.2 02-11-20065.3 30-06-20095.4 01-03-2012
5.5 RC1 09-05-2013
<?php namespace Ladybug\Theme; use Ladybug\Format\FormatInterface;use Ladybug\Container; abstract class BaseTheme implements ThemeInterface{ /** @var Container $container */ protected $container; protected $formats; public function __construct(Container $container) { $this->container = $container; }}
<?php $values = range(1, 30); $evenNumbers = array_filter($values, function($number) { return ($number % 2) == 0;});
<?php trait Loggable { public function log() { // my log function }} class Car { use Loggable;} $car = new Car();$car->log();
bool spl_autoload_register( [callable $autoload_function, [bool $throw = true, [bool $prepend = false]]])
fabpot / PHP-CS-Fixer
namespace Psr\Log;
interface LoggerInterface{ /** * System is unusable. */ public function emergency($message, array $context = array()); /** * Action must be taken immediately. */ public function alert($message, array $context = array()); /** * Critical conditions. */ public function critical($message, array $context = array()); /** * Runtime errors that do not require immediate action but should typically * be logged and monitored. */ public function error($message, array $context = array()); /** * Exceptional occurrences that are not errors. */ public function warning($message, array $context = array()); ...
BrowserKit
ClassLoader
Config
Console
CssSelector
DependencyInjection
DomCrawler
EventDispatcher
Finder
Form
HttpFoundation
HttpKernel
Locale
Process
Routing
Security
Serializer
Templating
Translation
Validator
Yaml
StopWatch
PropertyAccessOptionsResolver