From d18cf8bc918d26cdad25d1311a7effe4bd308f48 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 16 Jun 2021 10:06:17 +0200 Subject: add small script to sort reflection of an PHP extension (only methods) --- sortrefl | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 sortrefl (limited to 'sortrefl') diff --git a/sortrefl b/sortrefl new file mode 100755 index 0000000..f38efb5 --- /dev/null +++ b/sortrefl @@ -0,0 +1,51 @@ +#!/usr/bin/php + $methods) { + echo $tab[$class]; + + ksort($methods); + foreach ($methods as $method => $def) { + echo $def; + } +} +fprintf(STDERR, "\nDone\n"); +fclose($in); +?> -- cgit