Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15477626
D8054.id18222.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
531 B
Referenced Files
None
Subscribers
None
D8054.id18222.diff
View Options
Index: scripts/symbols/generate_php_symbols.php
===================================================================
--- scripts/symbols/generate_php_symbols.php
+++ scripts/symbols/generate_php_symbols.php
@@ -34,6 +34,10 @@
$functions = $root->selectDescendantsOfType('n_FUNCTION_DECLARATION');
foreach ($functions as $function) {
$name = $function->getChildByIndex(2);
+ // Skip anonymous functions
+ if (!$name->getConcreteString()) {
+ continue;
+ }
print_symbol($file, 'function', $name);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 8, 4:46 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7229588
Default Alt Text
D8054.id18222.diff (531 B)
Attached To
Mode
D8054: Skip anon functions in symbol generation script
Attached
Detach File
Event Timeline
Log In to Comment