Skip to content

Instantly share code, notes, and snippets.

const child_process = require('child_process');
try {
child_process.execFileSync('false');
} catch (err) {
// Exit status code is in `err.status`
}
child_process.execFile('false', function (err) {
// Exit status code is in `err.code`
<?php
class Optional
{
private $value;
public function __construct($value)
{
$this->value = $value;
}
<?php
namespace Doctrine\Tests\ORM\Functional\Ticket;
use Doctrine\Tests\OrmFunctionalTestCase;
class Ticket4646InstanceOfParametric extends OrmFunctionalTestCase
{
protected function setUp()
{
@taueres
taueres / .gitignore
Last active July 9, 2024 21:07
My gist
/.idea