// Chemin vers le fichier à modifier $fichier = '/home/dabidesign/wp-content/themes/FolioGridPro/functions/widget-twitter.php'; // Lire le contenu du fichier $contenu = file_get_contents($fichier); // Remplacer toutes les occurrences de create_function() par des fonctions anonymes $nouveau_contenu = preg_replace_callback('/create_function\s*\(([^,]+)\s*,\s*([^\)]+)\)/', function($matches) { // Extraire les arguments de la fonction create_function() $args = trim($matches[1], "'\""); // Enlever les guillemets autour des arguments $body = trim($matches[2], "'\""); // Enlever les guillemets autour du corps de la fonction // Construire la fonction anonyme $function = 'function(' . $args . ') { ' . $body . ' }'; return $function; }, $contenu); // Écrire le nouveau contenu dans le fichier file_put_contents($fichier, $nouveau_contenu); echo 'Remplacement terminé avec succès !';

Christophe Dabi

Moebius
Floor lamp

From 3400 €

Sculpture or light? This double solid oak buckle is a real aesthetic and technical ‘tour de force’ that refers to the famous ribbon of the same name. The stability of the forms, the angles of the assemblies are sublimated by an intense and continuous thread of light, fruit of the most advanced technologies in the field of the diffusion of light.

Prize : Finalist of the Ateliers d’Art de France 2019 contest, Ile de France region

Want a unique piece ?


    Private spaceCommercial spacePublic Space

    The filds marked with * are mandated.

    Gallery

    Subscribe Scroll to Top