This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class A { | |
private $data; | |
public function setData($value) | |
{ | |
$this->data = $value; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/parser2.php 2011-05-27 00:07:45.515535000 +0800 | |
+++ b/parser2.php 2011-05-26 16:37:01.081761000 +0800 | |
@@ -344,14 +344,16 @@ | |
//fwrite($fp, "!_TAG_FILE_SORTED 1\n"); | |
fclose($fp); | |
-load_entities('phpdoc/entities/global.ent'); | |
+load_entities('phpdoc/doc-base/entities/global.ent'); | |
+load_entities('phpdoc/doc-base/entities/version.ent'); | |
+load_entities('phpdoc/doc-base/entities/file-entities.ent'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gasol 韭 15 | |
det 韭 15 | |
gslin 玉 15 | |
mendes 高 15 | |
manic 高 15 | |
webber 綜 20 貢丸湯 | |
ronny 韭 15 魯肉飯 | |
itsour 韭 15 魯肉飯 | |
ken 玉 10 綜 10 | |
jcrt 玉 20 高 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clothes = dict() | |
clothes['M'] = ('gasol', 'webber', 'jcrt', 'mendes', 'sandy', 'elina', 'det', 'itsour', 'anties', 'jnlin', 'gslin') | |
clothes['L'] = ('manic', 'stephon', 'ronnywang', 'ken', 'repeat', 'yc') | |
clothes['XXXL'] = ('slzzp') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foods = dict() | |
foods['炭火燒烤雞腿飯'] = ('slzzp', 'mendes', 'gasol') | |
foods['炭火燒烤雞排飯'] = ('webber', 'stephon', 'ieon') | |
foods['炭火燒烤牛五花飯'] = ('itsour') | |
foods['烤Bar-B-Q牛肋條飯'] = ('jcrt') | |
foods['燒烤鯖魚飯'] = ('ken') | |
foods['燒烤松阪豬肉飯'] = ('manic', 'ychsiao', 'det') | |
foods['香橙烤鴨胸'] = ('ronnywang') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
char* stringToHex(char *str) | |
{ | |
int len = strlen(str); | |
char* buf = malloc(len * 2 + 1); | |
char* ret = buf; | |
int i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pizza ~]$ brew doctor | |
/usr/bin/gcc | |
Your gcc 4.2.x version is older than the recommended version. It may be advisable | |
to upgrade to the latest release of Xcode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Retry requests to the virtual server's default pool if the server responds with an error code (5xx status) | |
when CLIENT_ACCEPTED { | |
# On each new TCP connection track that we have not retried a request yet | |
set retries 0 | |
# Save the name of the virtual server default pool | |
set default_pool [LB::server pool] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 0x00000000005450b0 in _zend_mm_free_int () | |
#1 0x000000000055bc85 in _zval_ptr_dtor () | |
#2 0x00000000004fcd7e in php_mysqlnd_res_free_buffered_data_pub () | |
#3 0x00000000004fcc9d in php_mysqlnd_res_free_result_buffers_pub () | |
#4 0x00000000004fbe9a in mysqlnd_internal_free_result_contents () | |
#5 0x00000000004fe27a in mysqlnd_internal_free_result () | |
#6 0x00000000004fd55f in php_mysqlnd_res_free_result_pub () | |
#7 0x0000000807816102 in _free_mysql_result () from /usr/local/lib/php/20100525/mysql.so | |
#8 0x000000000057902e in list_entry_destructor () | |
#9 0x00000000005760eb in zend_hash_apply_deleter () |
OlderNewer