Skip to content

Commit

Permalink
split() is deprecated, use explode() instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri committed Sep 23, 2011
1 parent 21f7f42 commit 91ca00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PGQEvent.php
Expand Up @@ -61,7 +61,7 @@ protected function decode($data) {
$n = count($pairs);

for($i=0; $i < $n; $i++ ) {
$pair = split('=', $pairs[$i]);
$pair = explode('=', $pairs[$i]);
if( isset( $pair[1] ) ) {
$decoded[urldecode($pair[0])] = urldecode($pair[1]);
}
Expand Down

0 comments on commit 91ca00c

Please sign in to comment.