The PHP project publish full API documentation, and even provide a script that turns that documentation into a function list. You can get that here (revision 1.7) or here (revision 1.9).
Combine that with a small bit of VBS I wrote:
And you can easily generate a completely up-to-date function list for a given version of PHP to make your PHP wordfile a lot more complete than any available on the UE site.
Combine that with a small bit of VBS I wrote:
Code: Select all
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objInStream = objFSO.OpenTextFile("functions.txt")
If Not objFSO.FileExists("wordfile.stub.txt") Then
objFSO.CreateTextFile "wordfile.stub.txt"
End If
Set objOut = objFSO.GetFile("wordfile.stub.txt")
Set objOutStream = objOut.OpenAsTextStream(ForWriting)
strLetter = "a"
strThisLine = ""
While Not objInStream.AtEndOfStream
strLine = objInStream.ReadLine
objOutStream.Write strLine & " "
strThisLine = strThisLine & strLine & " "
If LCase(Left(strLine, 1)) <> strLetter Then
objOutStream.Write vbCrLf
strLetter = Lcase(Left(strLine, 1))
strThisLine = ""
ElseIf Len(strThisLine) > 150 Then
objOutStream.Write vbCrLf
strThisLine = ""
End If
Wend
objOutStream.Close
objInStream.Close
MsgBox "DONE"