Skip to content

Commit

Permalink
support php7
Browse files Browse the repository at this point in the history
  • Loading branch information
duguying committed Sep 8, 2016
1 parent a982857 commit a28eb56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Object files
*.o

# idea
.idea/

# Libraries
*.lib
*.a
Expand Down Expand Up @@ -48,5 +51,6 @@ run-tests.php
*.la
*.lo
*.bat
*.loT


2 changes: 1 addition & 1 deletion src/pinyin.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ PHP_FUNCTION(pinyin)
pyr = cn_word;
}

ZVAL_STRING(return_value, pyr, 1);
ZVAL_STRING(return_value, pyr);
}

0 comments on commit a28eb56

Please sign in to comment.