Skip to content

Instantly share code, notes, and snippets.

@ptarjan
Created February 21, 2014 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptarjan/9126741 to your computer and use it in GitHub Desktop.
Save ptarjan/9126741 to your computer and use it in GitHub Desktop.
test/slow/ext_string/ext_string.php
--- test/slow/ext_string/ext_string.php.expectf 2014-02-20 16:52:52.140332980 -0800
+++ test/slow/ext_string/ext_string.php.out 2014-02-20 16:55:00.164812815 -0800
@@ -100,20 +100,20 @@
ooooord."
string(52) "I'll "walk" the <b>dog</b> now"
string(30) "I'll "walk" the <b>dog</b> now"
-string(4) "c2a0"
+string(2) "a0"
string(4) "c2a0"
string(4) "c2a0"
string(5) "& & &"
string(8) "a test &"
+string(2) "c8"
string(4) "c388"
-string(4) "c388"
-string(2) "Α"
+string(7) "&Alpha;"
string(4) "ce91"
string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
string(46) "A &#039;quote&#039; is &lt;b&gt;bold&lt;/b&gt;"
string(0) ""
-string(6) "&nbsp;"
-string(6) "&nbsp;"
+string(2) " "
+string(2) " "
string(13) "egfe=20=0D=09"
string(4) "egfe"
string(11) "I love PHP!"
@@ -122,7 +122,7 @@
"
string(9) "CUC 4.3.0"
int(2191738434)
-int(34)
+int(13)
string(32) "1f3870be274f6c49b3e31a0c6728957f"
string(40) "d0be2dc421be4fcd0172e5afceea3970e2f3d940"
string(20) "hello all, I said hi"
@@ -147,7 +147,7 @@
string(7) "1234.56"
string(5) "1,235"
int(-1)
-int(1)
+int(32)
int(0)
int(-1)
int(0)
@@ -199,7 +199,7 @@
int(0)
int(7)
bool(false)
-HipHop Warning: Empty delimiter in %s/test/slow/ext_string/ext_string.php on line 377
+HipHop Warning: Empty delimiter in /data/fusion/ptarjan/fbcode5/hphp/test/slow/ext_string/ext_string.php on line 377
bool(false)
int(7)
int(7)
@@ -258,4 +258,4 @@
string(17) "123 ab12345 ab123"
string(10) "1ab2ab3ab4"
string(17) "12345|12345|67890"
-string(22) "123|==1234567890|==123"
+string(22) "123|==1234567890|==123"
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment