Alexander Ustimenko

Results 17 issues of Alexander Ustimenko

«raw» mysql, mysqli, PDO

To get list of custom scripts: `composer run-script -l` Or some `php -r 'var_dump(array_keys(json_decode(file_get_contents("composer.json"), true)["scripts"]));'`

At http://alexandre-salome.fr/blog/Test-your-commands-in-Symfony2 Deprecated link: http://symfony.com/doc/current/components/console/introduction.html#testing-commands Working link: http://symfony.com/doc/current/console.html#testing-commands

Ok, so if you think it's ok to have non-identical texts, then let's add clear warning about it.

Examples: - https://github.com/symfony/cache/blob/master/Adapter/NullAdapter.php - https://github.com/tedious/Stash/blob/master/src/Stash/Driver/BlackHole.php Same as https://github.com/php-fig/log/blob/master/Psr/Log/NullLogger.php ## Use case Cache as an optional injectable dependency. When class user not provides it -- we take ready NullPool and use...

See how Joe did it: https://github.com/krakjoe/tombs/blob/1164fb2a5113503c43db49344e861a44974768b1/zend_tombs.c#L247:L258 He just saves some flag at execute data method meta and don't do same again on next method call. But he uses `zend_get_resource_handle` which...