spip/utils

Utilitaires pour SPIP

dev-main 2021-08-23 07:56 UTC

This package is auto-updated.

Last update: 2024-11-28 09:23:34 UTC


README

<?php

require 'vendor/autoload.php';

use function Spip\Utils\{parse_url, glue_url};

$url = 'http://host/path?query=yes#fragment';

var_dump(glue_url(parse_url($url)) === $url);