>DansTonCode();

Tous les codes sources "Mais pourquoi ?"page 33

PHP
 05 Juillet, 2014 à 02:25
#205
// Replaces with spaces the braces in cases where braces in places cause stasis 
$str = str_replace(array("\{","\}")," ",$str);
PHP
 01 Juillet, 2014 à 05:21
#184
foreach( $d->params->sources as &$source )
{
    $src = current(explode( "/", is_array( $source->source ) ? $source->source[1] : $source->source ));
    foreach( $source->fields as $k => &$field )
        $field->source = $m->source->fields[$k];
}