Skip to content
This repository was archived by the owner on Dec 19, 2020. It is now read-only.

Commit 24b3847

Browse files
authored
Merge pull request #14 from alexiskulash/master
Replaced the deprecated function split() that will be removed in PHP 7.
2 parents 0d5718d + 2a62350 commit 24b3847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/examples/php/appender_socket_server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function getEvents($data) {
5454
throw new Exception("Please use 'log4php.appender.default.useXml = false' in appender_socket.properties file!");
5555
}
5656
preg_match('/^(O:\d+)/', $data, $parts);
57-
$events = split($parts[1], $data);
57+
$events = explode($parts[1], $data);
5858
array_shift($events);
5959
$size = count($events);
6060
for($i=0; $i<$size; $i++) {

0 commit comments

Comments
 (0)