This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$a = new stdClass(); | |
$a->prop = 'objA'; | |
$b = new stdClass(); | |
$b->prop = 'objB'; | |
$c = array($a, $b); | |
echo 'before unsetting'.PHP_EOL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change CLI binary | |
# This way Mac OS Looks first in our brand new php binary folder, | |
# then fallback to the built-in (old) version of PHP | |
export PATH=/path/to/PHP/installed/by/macport/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Novadry\AvisBundle\Form\Type; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilder; | |
use Symfony\Component\Form\FormView; | |
use Symfony\Component\Form\FormInterface; | |
use Novadry\AvisBundle\Form\WYSIWYG\CKEditorOptions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace MyNamespace\ReviewBundle\Form\EventListener; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface, | |
Symfony\Component\Form\FormFactoryInterface, | |
Symfony\Component\Form\FormEvents, | |
Symfony\Component\Form\Event\DataEvent; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phploc 1.7.4 by Sebastian Bergmann. | |
Directories: 98 | |
Files: 447 | |
Lines of Code (LOC): 58702 | |
Cyclomatic Complexity / Lines of Code: 0.04 | |
Comment Lines of Code (CLOC): 24461 | |
Non-Comment Lines of Code (NCLOC): 34241 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!defined('SF_AUTO_LINK_RE')) | |
{ | |
define('SF_AUTO_LINK_RE', '~ | |
( # leading text | |
<\w+.*?>| # leading HTML tag, or | |
[^=!:\'"/]| # leading punctuation, or | |
^ # beginning of line | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twig: | |
globals: | |
glob_showGA: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] Vérification que le bug de github est fixé | |
Celui qui empéchait les PR avec des caractères non ASCII | |
# Requesting a pull to widop:develop from widop:f-test-bug-github | |
# | |
# Write a message for this pull request. The first block | |
# of text is the title and the rest is description. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @version Version 0.1 / slightly modified for phpBB 3.0.x (using $H$ as hash type identifier) | |
* | |
* Portable PHP password hashing framework. | |
* | |
* Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in | |
* the public domain. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# features/sha1.feature | |
Feature: Sha1 | |
In order to compute a sha1sum | |
As a website user | |
I need to be able to compte a sha1sum using an asynchronous script | |
Scenario: Compute sha1sum | |
Given I am on "/" | |
When I fill in "text" with "my text" | |
Then I should see "c3599c11e47719df18a2448690840c5dfcce3c80" |