chinaweilu/pb4php

Undefined Class Constant

GoogleCodeExporter opened this issue · 2 comments

What steps will reproduce the problem?
1. Viewing "test.php" on my web server...

What is the expected output? What do you see instead?
Expected Output: Whatever test.php is supposed to display. 
Actual Output: Fatal error: Undefined class constant
'PBMessage::WIRED_STRING' in /var/www/protocolbuf/example/test.php on line 15

What version of the product are you using? On what operating system?
Version 0.25 
OS: Debian 5.0.3 (lenny) 

Please provide any additional information below.
PHP5 installed over an Apache 2.2 HTTP server. 

Original issue reported on code.google.com by brandonh...@gmail.com on 19 Sep 2009 at 4:58

Must be replaced to WIRED_LENGTH_DELIMITED

Original comment by aleks.ra...@gmail.com on 6 Nov 2009 at 10:41

right,it do

Original comment by fort...@gmail.com on 18 Jun 2013 at 8:03