]> granicus.if.org Git - file/commitdiff
PR/173: increase php strength to beat c/c++
authorChristos Zoulas <christos@zoulas.com>
Thu, 21 Jun 2012 01:08:56 +0000 (01:08 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 21 Jun 2012 01:08:56 +0000 (01:08 +0000)
magic/Magdir/commands

index ba9fa95dd8f85231a76d640023bcf30f2fd17699..f8b974a5719835eff1fe3abf8a3aa45cadc37324 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: commands,v 1.41 2011/05/02 12:36:41 christos Exp $
+# $File: commands,v 1.42 2011/12/05 23:14:02 rrt Exp $
 # commands:  file(1) magic for various shells and interpreters
 #
 #0     string/w        :                       shell archive or script for antique kernel text
 # PHP scripts
 # Ulf Harnhammar <ulfh@update.uu.se>
 0      search/1/c      =<?php                  PHP script text
+!:strength + 10
 !:mime text/x-php
 0      search/1        =<?\n                   PHP script text
 !:mime text/x-php
 0      search/1        =<?\r                   PHP script text
 !:mime text/x-php
 0      search/1/w      #!\ /usr/local/bin/php  PHP script text executable
+!:strength + 10
 !:mime text/x-php
 0      search/1/w      #!\ /usr/bin/php        PHP script text executable
+!:strength + 10
 !:mime text/x-php
 # Smarty compiled template, http://www.smarty.net/
 # Elan Ruusamäe <glen@delfi.ee>