Changeset 30253 in spip-zone for _plugins_/simpletest/simpletest/url.php


Ignore:
Timestamp:
Jul 27, 2009, 3:26:42 AM (12 years ago)
Author:
gilles.vincent@…
Message:

[30252] suite : split est deprecie en 5.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/simpletest/simpletest/url.php

    r24737 r30253  
    107107        if (preg_match('/^([^\/]*)@(.*)/', $url, $matches)) {
    108108            $url = $prefix . $matches[2];
    109             $parts = split(":", $matches[1]);
     109            $parts = explode(":", $matches[1]);
    110110            return array(
    111111                    urldecode($parts[0]),
     
    185185        $this->_raw = $raw;
    186186        $request = new SimpleGetEncoding();
    187         foreach (split("&", $raw) as $pair) {
     187        foreach (explode("&", $raw) as $pair) {
    188188            if (preg_match('/(.*?)=(.*)/', $pair, $matches)) {
    189189                $request->add($matches[1], urldecode($matches[2]));
Note: See TracChangeset for help on using the changeset viewer.