Assuming PHP is compiled with debug enabled.
$ gdb /usr/sbin/php-fpm
Then:
r --nodaemonize --fpm-config /etc/php7/fpm/php-fpm.conf
<?php | |
$column = new Column("email", Type::getType("string")); | |
$column->setLength(255); | |
$column->setNullable(true); | |
$classMetadata->getTable()->addColumn($column); | |
$value = new SimpleValue(); |
{ | |
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"terms": { | |
"status": [ | |
"NO_SALE", | |
"SOLD" | |
], |
package com.eblock.api; | |
import java.io.InputStream; | |
import java.net.InetAddress; | |
import java.net.UnknownHostException; | |
import org.elasticsearch.client.Client; | |
import org.elasticsearch.client.transport.TransportClient; | |
import org.elasticsearch.common.settings.Settings; | |
import org.elasticsearch.common.transport.InetSocketTransportAddress; | |
import org.elasticsearch.shield.ShieldPlugin; |
Assuming PHP is compiled with debug enabled.
$ gdb /usr/sbin/php-fpm
Then:
r --nodaemonize --fpm-config /etc/php7/fpm/php-fpm.conf
<?php | |
interface Entity<ID> { | |
public function getId() : ID; | |
} | |
class AuctionItem implements Entity<string> { | |
private $id; | |
public function getId() : string { |
<?php | |
namespace Doctrine\Cache\Driver\InMemory\Processor; | |
class GetEntryProcessor implements EntryProcessor | |
{ | |
public function process(MutableEntry $entry, ...$arguments) : EntryProcessorResult | |
{ | |
$now = microtime(true); | |
$valueConverter = $this->cache->getConfiguration()->getValueConverter(); |
TASK [application : Create application RabbitMQ vhost] ************************* | |
task path: /Users/gblanco/workspaces/ansible/roles/application/tasks/configure.yml:15 | |
<live.l> ESTABLISH SSH CONNECTION FOR USER: None | |
<live.l> SSH: EXEC ssh -C -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/Users/gblanco/workspaces/ansible/.vagrant/machines/default/virtualbox/private_key"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/gblanco/.ansible/cp/ansible-ssh-%h-%p-%r -tt live.l '( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454959733.43-141382384435579 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454959733.43-141382384435579 )" )' | |
fatal: [vagrant]: UNREACHABLE! => { | |
"changed": false, | |
"msg": "ERROR! SSH encountered an unknown error. The output was: | |
OpenSSH |
<?php | |
declare(strict_types = 1); | |
/* | |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
<?php | |
use SimpleBus\Message\Bus\Middleware\MessageBusSupportingMiddleware; | |
use SimpleBus\Message\Handler\DelegatesToMessageHandlerMiddleware; | |
use SimpleBus\Message\Handler\Resolver\NameBasedMessageHandlerResolver; | |
use SimpleBus\Message\Name\NamedMessageNameResolver; | |
// Consider this is available | |
$pimple = new \Pimple(); |
namespace Doctrine\DBAL\Type; | |
use Doctrine\DBAL\Generator\SQL; | |
use Doctrine\DBAL\Platform\Platform; | |
class CustomIntegerType extends AbstractType implements Type | |
{ | |
public function generateType(Platform $platform) | |
{ | |
$internalType = ($this->options['length'] > 10) ? 'BIGINT' : 'INT'; |