This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo PHP_MAJOR_VERSION; | |
echo "<br />"; | |
echo PHP_MINOR_VERSION; | |
echo "<br />"; | |
echo PHP_RELEASE_VERSION; | |
echo "<br />"; | |
echo PHP_EXTRA_VERSION; | |
echo "<br />"; | |
echo PHP_VERSION; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* automatically generated by configure */ | |
/* edit configure.in to change version number */ | |
#define PHP_MAJOR_VERSION 5 | |
#define PHP_MINOR_VERSION 3 | |
#define PHP_RELEASE_VERSION 10 | |
#define PHP_EXTRA_VERSION "" | |
#define PHP_VERSION "5.3.10" | |
#define PHP_VERSION_ID 50310 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!defined('PHP_VERSION_ID')) { | |
$version_array = explode('.', phpversion()); | |
define('PHP_VERSION_ID', ($version_array[0]*10000 + $version_array[1]*100 + $version_array[2])); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!defined ('PHP_VERSION_ID')) | |
{ | |
$ver = array_map ('intval', explode ('.', PHP_VERSION, 3)); | |
$ver[0] *= 10000; | |
$ver[1] *= 100; | |
define ('PHP_VERSION_ID', array_sum ($ver)); | |
unset ($ver); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char **argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc,char **argv){ | |
printf("命令行参数总个数为:%d\n",argc); | |
int i; | |
for(i=0;i<=argc;i++) | |
{ | |
if(argv[i]!=NULL){ | |
printf("第%d个参数为:%s \n",i,argv[i]); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sugar_version = '6.3.1'; | |
$sugar_db_version = '6.3.1'; | |
$sugar_flavor = 'CE'; | |
$sugar_build = '7095'; | |
$sugar_timestamp = '2011-12-16 10:54am'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define RUBY_VERSION "1.9.3" | |
#define RUBY_PATCHLEVEL 0 | |
#define RUBY_RELEASE_DATE "2011-10-30" | |
#define RUBY_RELEASE_YEAR 2011 | |
#define RUBY_RELEASE_MONTH 10 | |
#define RUBY_RELEASE_DAY 30 | |
#include "ruby/version.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#-*- coding:utf-8 -*- | |
import httplib, urllib | |
import socket | |
import time | |
params = dict( | |
login_email="email", # replace with your email | |
login_password="password", # replace with your password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def jvmRunFlags = ''' | |
-Xmx700m | |
- ... | |
'''.split().toList() | |
def jvmTestFlags = ''' | |
-Dlocally=true | |
-ea | |
- ... | |
'''.split().toList() |
OlderNewer