Exploit.cz
Exploit.cz
| Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | yes | New feature? | yes | Deprecations? | no | Tickets | Fix...
fixes api-platform/api-platform#1344 original fix by @dunglas https://github.com/symfony/symfony/pull/21165/files need to apply this pull in Symfony/Serializer https://github.com/symfony/symfony/pull/46878 | Q | A | ------------- | --- | Branch? | 2.7 | Tickets |...
In PDO you can bind named params bindValue('something', 1, PDO::TYPE); So you can use ResultSet like this ``` $query = 'SELECT * FROM table WHERE id = :something'; $params[':something'] =...
https://github.com/nette/database/blob/master/src/Database/Table/Selection.php#L742 $primaryKey = $this->context->getInsertId() aka PDO::lastInsertId() you have table: id int(10) unsigned NOT NULL value varchar(255) COLLATE utf8_czech_ci DEFAULT NULL PRIMARY KEY (`id`), Database::table()->insert(array('id'=>2, 'value'=> 'text')); will result in PDO::lastInsertId()...
https://www.php.net/releases/7_4_0.php https://www.php.net/ChangeLog-7.php#7.4.0
https://www.php.net/archive/2019.php#id2019-05-30-1
* https://blackfire.io/docs/integrations/docker * https://blog.blackfire.io/alpine-linux-support.html ``` RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ && curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/alpine/amd64/$version \ && tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp \...
$search->setOption('filter_path', 'responses.hits.hits._source'); https://github.com/ruflin/Elastica/issues/1906
usecase: ->addOption('filter_path', 'hits.hits._source') patially done in https://github.com/ruflin/Elastica/pull/1292
your have done great work with this base image, for better customizations is great to setup $PHP_INI_DIR after this change, I am abble to extend your image like this ```...