Browse Source

Update reverse_client.php example to use doNormal()

`do()` is a reserved word in PHP7, and is deprecated.
Oli Griffiths 9 years ago
parent
commit
287811c5fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/reverse_client.php

+ 1 - 1
examples/reverse_client.php

@@ -23,7 +23,7 @@ echo "Sending job\n";
 # Send reverse job
 do
 {
-  $result= $gmclient->do("reverse", "Hello!");
+  $result = $gmclient->doNormal("reverse", "Hello!");
   # Check for various return packets and errors.
   switch($gmclient->returnCode())
   {