From e9d7f21bf5a3406793953f6ec659384a03099387 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 10 Dec 2011 17:42:54 -0800 Subject: [PATCH] Fix missing "$sz" variable in example/userstream-simple.php. I assume this was suppose to be the size of the object returned in the stream. --- example/userstream-simple.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/userstream-simple.php b/example/userstream-simple.php index 0f3d07c..4bfe725 100644 --- a/example/userstream-simple.php +++ b/example/userstream-simple.php @@ -35,7 +35,7 @@ public function enqueueStatus($status) * should be being enqueued and processed asyncronously from the collection process. */ $data = json_decode($status, true); - echo date("Y-m-d H:i:s (").$sz."):".print_r($data,true)."\n"; + echo date("Y-m-d H:i:s (").strlen($status)."):".print_r($data,true)."\n"; } }