Etiqueta: python

Enhance PHP sprintf with Python-style named parameters

Enhance PHP sprintf with Python-style named parameters README Enhance PHP sprintf with Python-style named parameters Requirements PHP >= 7.0 Composer Installation composer require lightster/named-sprintf:dev-master Basic Usage <?php use LstrSprintfSprintf; require_once __DIR__ . '/vendor/autoload.php'; $sprintf = new Sprintf(); echo $sprintf->sprintf( "Hello %(first_name)s...