一番汚いコードでHello Worldを書いたやつが勝ち
■ このスレッドは過去ログ倉庫に格納されています
0001nobodyさん
2007/06/22(金) 00:23:46ID:???0004nobodyさん
2007/06/22(金) 01:53:35ID:???0005nobodyさん
2007/06/22(金) 02:52:16ID:???めんどくさいから誰かヤレ。命令。
0007irbで
2007/06/22(金) 11:30:44ID:BMPlrNlv<% case i -%>
<% when 1 -%>
H
<% when 2 -%>
e
<% when 3 -%>
l
<% when 4 -%>
l
<% when 5 -%>
o
<% when 6 -%>
<% when 7 -%>
W
<% when 8 -%>
o
<% when 9 -%>
r
<% when 10 -%>
l
<% when 11 -%>
d
<% end -%>
<% end -%>
0009nobodyさん
2007/06/23(土) 02:47:08ID:???0010nobodyさん
2007/06/23(土) 15:33:20ID:???$unkoyamaunko = <<<UNKOYAMAUNKO
%48%65%6c%6c%6f%2c%57%6f%72%6c%64
UNKOYAMAUNKO
$unkokawaunko = urldecode($unkoyamaunko);
echo $unkokawaunko;
?>
0012nobodyさん
2007/06/25(月) 14:47:38ID:???s=decodeURI("%14%02rYE%5C%5D%14%02t%14%01p%14%01%08%14%02rYTPU%14%02t%14%02rEXE%5DT%14%02tyt%7D%7D~(改行しない)
%14%03%01f~c%7Du%14%02r%1EEXE%5DT%14%02t%14%02r%1EYTPU%14%02t%14%01p%14%01%08%14%02rS%5EUH%14%02tyt%7D%7D~(改行しない)
%14%03%01f~c%7Du%10%14%02r%1ES%5EUH%14%02t%14%01p%14%02r%1EYE%5C%5D%14%02t%14%01p");
k=49;t="";for(i=0;i<s.length;i++){a=s.charCodeAt(i)^k;t=t+String.fromCharCode(a);}document.write(decodeURI(t));</script>
長過ぎになってしまった
(改行しない)って書いた文字列とその直後の改行を省いてくれ
0013nobodyさん
2007/06/25(月) 15:41:12ID:???catch (e) { alert('Hello World'); }
0014nobodyさん
2007/06/25(月) 16:01:48ID:???0015nobodyさん
2007/06/25(月) 18:33:34ID:???0016nobodyさん
2007/06/25(月) 19:50:41ID:???int hello(int i)
{
static char * str="Hello world\n";
putchar(i++[str]);
if(i[str-1] == '\n') return(0);
hello(i);
}
int main(int argc, char * argv[])
{
hello(0);
return(0);
}
// なんかイマイチだな
// もっと天然で汚い感じが欲しい
0017nobodyさん
2007/06/25(月) 20:58:19ID:???import System;
import System.Text;
const a: String = "utf-8";
const b: Char = " ";
const c: Char = "d";
const d: Char = "e";
const e: Char = "h";
const f: Char = "l";
const g: Char = "o";
const h: Char = "r";
const i: Char = "w";
Console.WriteLine("Content-type: text/html; charset={0}", a);
Console.WriteLine();
var j: StringBuilder = new StringBuilder();
var k: Char[] = [Char.ToUpper(e), d, f, g, b, Char.ToUpper(i), h, c];
j.Append(k);
var l: int[] = [2, 2, 3, 7, 2, 9];
for (var m : int = 0; m < l.Length; m += 2)
j.Insert(l[m + 1], k[l[m]]);
Console.WriteLine('<{0}><{1}><{2}>{5}</{2}></{1}><{3}><{4}>{5}</{4}></{3}></{0}>',
'html', 'head', 'title', 'body', 'p', j.ToString());
0018nobodyさん
2007/06/25(月) 21:11:48ID:???/*
____
/__.))ノヽ
.|ミ.l _ ._ i.)
(^'ミ/.´・ .〈・ リ phpはわしが育てた
.しi r、_) |
| `ニニ' /
ノ `ー―i
*/
echo"Hello World";
?>
0019nobodyさん
2007/06/25(月) 21:36:23ID:???if (1) {
?>
Hello World
<?php
}
?>
0020nobodyさん ◆XGAVYHfdvg
2007/06/26(火) 00:59:14ID:???#include <string.h>
int main(void)
{
char str[16];
memset( str, "\0", sizeof(str) );
sprintf( (char *)&str[16], "Hello World" );
puts( (char *)&str[16]text );
return 0;
}
0021nobodyさん ◆XGAVYHfdvg
2007/06/26(火) 01:01:00ID:???誤:puts( (char *)&str[16]text );
正:puts( (char *)&str[16] );
どっちにしろアレだが。
0023nobodyさん
2007/06/26(火) 22:10:07ID:???を使いまくってるのがあったな。
ttp://developers.slashdot.org/comments.pl?sid=33602&cid=3636102
0024nobodyさん
2007/06/27(水) 21:00:36ID:???汚くはないが。サンプルとして有用そうだし。
0025nobodyさん
2007/06/28(木) 02:21:48ID:???20 print "e"
30 print "l"
40 print "l"
50 print "o"
60 print "W"
70 print "o"
80 print "r"
99999 print "l"
15656520 print "d"
renum
run
0026nobodyさん
2007/06/28(木) 02:50:34ID:???くらいにしとけ
0027nobodyさん
2007/06/28(木) 16:59:49ID:???PHPなんだけどまだネタある?誰かヒントプリーズ
0028nobodyさん
2007/06/28(木) 18:37:56ID:???0029nobodyさん
2007/06/29(金) 03:48:09ID:???PROGRAM-ID. HELLOWORLD.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER.
OBJECT-COMPUTER.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 HW PIC X(11) VALUE "Hello World".
PROCEDURE DIVISION.
DISPLAY HW
STOP RUN.
0030nobodyさん
2007/06/29(金) 11:23:59ID:???0031nobodyさん
2007/06/29(金) 22:26:21ID:???Add_e:{ $m .= "e"; goto display; }
Add_l:{ $m .= "l"; goto display; }
Add_o:{ $m .= "o"; goto display; }
Add_W:{ $m .= "W"; goto display; }
Add_r:{ $m .= "r"; goto display; }
Add_d:{ $m .= "d"; goto display; }
display:
if($m eq "H") {
goto Add_e;
} elsif($m eq "He") {
goto Add_l;
} elsif($m eq "Hel") {
goto Add_l;
} elsif($m eq "Hell") {
goto Add_o;
} elsif($m eq "Hello") {
goto Add_W;
} elsif($m eq "HelloW") {
goto Add_o;
} elsif($m eq "HelloWo") {
goto Add_r;
} elsif($m eq "HelloWor") {
goto Add_l;
} elsif($m eq "HelloWorl") {
goto Add_d;
} else {
print $m;
}
0032nobodyさん
2007/06/30(土) 13:17:14ID:/kMH2jwE$mes="";
if($mes=="HELLO WORLD"){
echo $mes;
}else{
for($i=0;$i<26;$i++){$mes.=$ara[rand[0,25]];}
}
0033nobodyさん
2007/06/30(土) 13:33:00ID:UIYio/Pyecho $kitanai["一番汚いコード" ];
0034nobodyさん
2007/06/30(土) 13:54:37ID:QUrOWOrn$a=false;
?>Hello World
0035nobodyさん
2007/06/30(土) 22:00:31ID:WECyrrpCld ix, [j]
ld acc, [ix+a0+1]
st acc, [x]
lp2: ld acc, [x]
ld ix, [j]
ld ix, [ix+a0]
cmp acc, ix
bzp lp4
ld ix, [j]
ld acc, [ix+a0]
st acc, [ix+a0+1]
lp3: ld ix, [j]
sub ix, 1
st ix, [j]
bzp lp2
lp4: ld acc, [x]
ld ix, [j]
st acc, [ix+a0+1]
0036nobodyさん
2007/06/30(土) 23:27:08ID:???0037nobodyさん
2007/07/02(月) 00:44:03ID:Pb0OW63k{
Integer.parseInt("うんこ");
}
catch(Exception e)
{
System.println("Hello World");
}
0038nobodyさん
2007/07/03(火) 23:32:23ID:???0039nobodyさん
2007/07/04(水) 02:28:34ID:???def hello(world)
print "Hello" + " " + "World"
end
hello(world)
0040nobodyさん
2007/07/04(水) 02:47:12ID:???hello, world = "Hello", "world"
def hello(world)
print "Hello" + " " + "World"
end
hello(world)
0041nobodyさん
2007/07/04(水) 11:21:45ID:???#include <stdlib.h>
int main( int argc, char *argv[] )
{
char dec[]={0x2f,0xa3,0x05,0x1f,0x3e,0xdf,0x1d,0x83,0x5b,0xa1,0xde,0x00};
char *p=dec;
while(*p){
printf("%c",*p++^(char)rand());
}
printf("\n");
exit(0);
}
rand()の実装が違うとだめだな。
0042nobodyさん
2007/07/04(水) 20:25:23ID:???0043nobodyさん
2007/07/04(水) 20:50:40ID:???004443
2007/07/04(水) 20:51:10ID:???0045nobodyさん
2007/07/04(水) 22:22:22ID:???0047nobodyさん
2007/07/04(水) 22:47:27ID:???function HelloWorld(s) {
return s.toString().split(/\W/)[1];
}
WScript.Echo(HelloWorld(HelloWorld));
0048nobodyさん
2007/07/05(木) 09:48:29ID:???0049nobodyさん
2007/07/05(木) 18:45:58ID:???2ちゃんの仕様だから
0050nobodyさん
2007/07/11(水) 05:08:05ID:???0051nobodyさん
2007/07/11(水) 06:08:59ID:???#!/usr/bin/perl
use strict;
$|=1;
print qq|content-type:text/html\n\n|;
&main();
sub main {
srand(time ^ ($$ + ($$ << 15)));
my $loop=1;
foreach(0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,0x6c,0x64) {
while($loop++) {
if(int(rand()*100000)==$_) {
printf qq|%c |, $_;
last;
}
}
}
$loop--;
print qq|<br>\n|;
print qq|<br>\n=================<br>\n|;
print qq|loop=${loop}|;
print qq|<br>\n=================<br>\n|;
}
;1;
0052nobodyさん
2007/07/15(日) 13:26:26ID:???class alfhabeta{var $a = "a";var $b = "b";var $c = "c";var $d = "d";var $e = "e";var $f = "f";var $g = "g";
var $h = "h";var $i = "i";var $j = "j";var $k = "k";var $l = "l";var $m = "m";
var $n = "n";var $o = "o";var $p = "p";var $q = "q";var $r = "r";var $s = "s";var $t = "t";var $u = "u";
var $v = "v";var $w = "w";var $x = "x";var $y = "y";var $z = "z";
var $space = " ";
function p($code,$s){if(ereg("[a-z]",$code)) return $s? strtolower($this->e($code)): strtoupper($this->e($code));
elseif($code == $this->space) return $this->e("space");else die("[Undefined]");}
function e($name){$arr = get_object_vars($this);return $arr[$name]? $arr[$name]: "( ゚д゚)シメジ";}}
class a extends alfhabeta{
var $str = null;
function a($str = "Nullpo"){$this->str = $str;
$str = $this->b(mb_strlen($this->str));echo $str;
return true;}
function b($num){$n = 0;
while($n < $num){$str = $str . $this->c(substr($this->str,$n,1));$n++;}
return $str;}
function c($code){return $this->p(strtolower($code),ereg("[a-z]",$code));}
}?>
無駄に長く書いてみた。改行で怒られた……
0053nobodyさん
2007/07/15(日) 22:39:55ID:???my $hoge = '';
open $hoge or die('Hello World!');
0054nobodyさん
2007/08/30(木) 18:11:35ID:???function unko()
{
$str = " 人 <br>".
" ノ⌒ 丿 <br>".
" _/ ::( <br>".
" / :::::::\ <br>".
" ( :::::::;;;;;;;) <br>".
" \_―― ̄ ̄::::::::::\ <br>".
" ノ ̄ ::::::::::::::::::::::) <br>".
" ( ::::::::::::::;;;;;;;;;;;;人 <br>".
" / ̄――――― ̄ ̄::::::::\ <br>".
" ( :::::::::::::::::::::::::::::::::) <br>".
" \__::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;ノ <br>";
return $str;
}
echo unko();
?>
0055nobodyさん
2007/09/03(月) 22:15:10ID:???//俺のかわりにお前が書け
?>
0057nobodyさん
2007/12/21(金) 00:36:11ID:???class H{
$s="hello world";
function H(){
}
function p(){
return ucfirst($this->s);
}
}
$hc=new H();
echo $hc->p();
/*
汚いというか複雑なだけか
*/
0058nobodyさん
2008/02/16(土) 10:31:11ID:nilA8yYH0059nobodyさん
2008/02/16(土) 17:40:53ID:???0060nobodyさん
2008/02/19(火) 17:50:41ID:fPNkIgqk&helloworld($str);
exit;
sub hellowworld{
if($_[0] =~/h/){print"h"}
if($_[0] =~/h/){print"e"}
if($_[0] =~/h/){print"l"}
if($_[0] =~/h/){print"l"}
if($_[0] =~/h/){print"o"}
print" ";
if($_[0] =~/h/){print"w"}
if($_[0] =~/h/){print"o"}
if($_[0] =~/h/){print"r"}
if($_[0] =~/h/){print"l"}
if($_[0] =~/h/){print"d"}
}
0061nobodyさん
2008/02/19(火) 17:51:32ID:fPNkIgqk$str="fadfahdfsaffasdefdafalfdaflfaodfasf dfgfwargwgwgodahjtjrjhrtljtd"
&helloworld($str);
exit;
sub hellowworld{
if($_[0] =~/h/){print"h"}
if($_[0] =~/e/){print"e"}
if($_[0] =~/l/){print"l"}
if($_[0] =~/l/){print"l"}
if($_[0] =~/o/){print"o"}
print" ";
if($_[0] =~/w/){print"w"}
if($_[0] =~/o/){print"o"}
if($_[0] =~/r/){print"r"}
if($_[0] =~/l/){print"l"}
if($_[0] =~/d/){print"d"}
}
0062nobodyさん
2008/02/19(火) 20:54:59ID:???0063nobodyさん
2008/02/22(金) 10:07:51ID:???print "e";
while($i<2){
print "l";
$i++;
}
print "o";
print "W";
print "o";
print "r";
print "l";
print "d";
0064nobodyさん
2008/02/22(金) 10:12:11ID:???0065nobodyさん
2008/02/23(土) 14:58:30ID:z1LnZPp5$helloworld = &helloworld($helloworld) ;
print $helloworld;
exit;
sub helloworld{
$_[0] =~ s/%([A-Fa-f0-9][A-Fa-f0-9])/pack("C", hex($1))/eg;
}
0066nobodyさん
2008/02/27(水) 11:24:26ID:???$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu2=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu;
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu3=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu2;
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu4=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu3;
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu5=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu4;
echo "Hello World";
0067nobodyさん
2008/02/27(水) 20:38:04ID:jQHNOoBCprint str_replace("e","",strtr(strtr(str_replace("a","",str_replace("i","",$hentai)),array("t"=>""))),"n","");
print str_replace("H","",strtr(strtr(str_replace("a","",str_replace("i","",$hentai)),array("t"=>""))),"n","");
$unko="unko";$oshikko="oshikko";$scatolo="skatolo";$daiben="daiben";$wakiga="wakiga";
He までできました
続きが出来ません誰かお願いします
0068nobodyさん
2008/02/28(木) 18:47:43ID:???@join=qw(_ o VV o);print<<joln;
${\join"\40|","",q:-l:,'三',_=>"@join",'~','_',">"}
joln
0069nobodyさん
2008/04/25(金) 21:01:18ID:???<p>好きな言葉を入れてね!</p>
<input type="text" name="text" />
<input type="submit" />
</form>
<?php
if(isset($_POST['text']) && $_POST['text'] == "Hello World") or exit('もっとセンスの良い言葉を入れなきゃダメ!!');
echo $_POST['text'];
?>
0070nobodyさん
2008/06/16(月) 12:16:08ID:???0071nobodyさん
2009/04/04(土) 12:16:11ID:???class H{
static $H=null;
public static function getInstance($c,$d){
return eval("if(!isset(self::\$H['$d']))self::\$H['$d']=new $d('$c');return self::\$H['$d'];");}
private function __construct($b){$this->b=$b;}
public function p(){echo $this->b;}
}
foreach(array('o'=>'H','e'=>'o','l'=>'e','w'=>'l','d'=>'w','r'=>'d') as $a=>$b){
eval("class $a extends $b{ static \$$a=null;}");}
e::getInstance('H','e')->p();w::getInstance('e','w')->p();d::getInstance('l','d')->p();d::getInstance('p','d')->p();
H::getInstance('o','H')->p();l::getInstance(' W','l')->p();H::getInstance('n','H')->p();
o::getInstance('r','o')->p();d::getInstance('a','d')->p();r::getInstance('d!!','r')->p();
?>
0072nobodyさん
2009/06/12(金) 03:42:19ID:???0073nobodyさん
2009/07/02(木) 03:58:47ID:66wy96h3(reverse (mapcar #'character '(100 108 114 111 87 111 108 101 72))))
0074nobodyさん
2009/07/02(木) 05:39:09ID:66wy96h30075nobodyさん
2009/07/05(日) 03:34:15ID:???$string = "Hello World";
/*
何故か出力できないのでコメントアウト。バグ?
print $stling;
*/
//Header("Location: http://ja.wikipedia.org/wiki/Hello_world\n\n");
Header("Location: http://www.nitroplus.co.jp/pc/lineup/pro_04a.html\n\n");
?>
0076nobodyさん
2009/07/05(日) 13:01:12ID:???0077nobodyさん
2009/07/06(月) 18:08:04ID:8Nc433eP0079nobodyさん
2009/08/15(土) 04:11:46ID:???ファイル名をhelloworld.phpにして、
内容を「Hello World」だけにすれば
それはPHPのコードとして通用するんだなw
0080nobodyさん
2009/08/20(木) 15:42:12ID:???<?php
define('H', 'hello world!');
$letters = array_merge( range('a', 'z'), range('0', '9'), array(' ', '!') );
$output = '';
$tried = 0;
while ($output != H && $tried < 1000000) {
type($output);
$tried ++;
}
echo $output;
function type(&$output) {
global $letters;
$output .= $letters[rand(0, count($letters)-1)];
if (strpos(H, $output) !== 0) $output = '';
}
?>
0081nobodyさん
2009/08/20(木) 23:54:27ID:???0082nobodyさん
2009/08/21(金) 08:47:00ID:???0083nobodyさん
2009/08/21(金) 20:19:27ID:???0084nobodyさん
2009/08/21(金) 22:18:38ID:???試行回数100万程度じゃまず出ないだろうな。
0085nobodyさん
2009/08/21(金) 22:22:35ID:???含まれていなかったら消して再度実行しているように見えるんですが
私の気のせいでしょうか
0086 ◆4JbtJcyZf.
2009/09/28(月) 22:57:05ID:mb/rfPw3s s = new s();Thread t = new Thread(s);t.start();}}class s implements Runnable {private static final int EXTERNAL_BUFFER_SIZE = 128000;public void run() {
System.out.println("hello");try {File soundFile = new File("C:/WINDOWS/Media/Windows XP Startup.wav");
AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(soundFile);AudioFormat audioFormat = audioInputStream.getFormat();
DataLine.Info info = new DataLine.Info(SourceDataLine.class,audioFormat);SourceDataLine line = (SourceDataLine) AudioSystem.getLine(info);
line.open(audioFormat);line.start();int nBytesRead = 0;byte[] abData = new byte[EXTERNAL_BUFFER_SIZE];while (nBytesRead != -1) {
nBytesRead = audioInputStream.read(abData, 0, abData.length);if (nBytesRead >= 0) {
int nBytesWritten = line.write(abData, 0, nBytesRead);}}try {Thread.sleep(1000);} catch (InterruptedException e) {System.out.println(e);}System.out.print("world");
line.drain();line.close();System.exit(0);} catch (Exception e) {e.printStackTrace();System.exit(1);}}}
センスなくてすまんage目的改行怒られたxp用。
0087nobodyさん
2009/11/25(水) 04:27:55ID:SgkvVe550088nobodyさん
2009/11/29(日) 18:53:59ID:???$array = array('H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd', '!');
$count = 0;
while(true)
{
$rand = mt_rand(0, 262144);
if($count == $rand)
{
echo $array[$rand];
if($count == 11) {
break;
}
$count++;
}
}
0089nobodyさん
2009/12/02(水) 23:14:54ID:4wNc4kRB?>
Hello World
0090Astor ◆9NS.crxW3U
2009/12/10(木) 22:28:22ID:???<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript"><!--
google.load("language", "1");
function textTranslate() {
var text = "こんにちわ,世界";
google.language.translate(text, "ja", "en",
function(result) {
if (result.translation) {
document.getElementById("translation").innerHTML = result.translation;
}
}
);
}
google.setOnLoadCallback(textTranslate);
// --></script>
</head>
<body>
<div id="translation"></div>
</body>
</html>
0091nobodyさん
2009/12/11(金) 00:02:17ID:???0092nobodyさん
2009/12/19(土) 20:30:17ID:???(=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**
hKs_dG5[m_BA{?-Y;;Vb'rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<
0093nobodyさん
2010/01/06(水) 04:21:00ID:???LD IX,$E000
LD A,'H'
LD (IX+0),A
LD A,'E'
LD (IX+1),A
LD A,'L'
LD (IX+2),A
LD A,'L'
LD (IX+3),A
LD A,'O'
LD (IX+4),A
LD A,' '
LD (IX+5),A
LD A,'W'
LD (IX+6),A
LD A,'O'
LD (IX+7),A
LD A,'R'
LD (IX+8),A
LD A,'L'
LD (IX+9),A
LD A,'D'
LD (IX+10),A
RET
0094nobodyさん
2010/01/07(木) 08:22:11ID:???0095nobodyさん
2010/01/26(火) 10:29:13ID:/StbBnnRvar s="( 5 < < ?@7 ? B < 4",k=96,t="",r=0;
for(i=0;i<s.length;i++){
a=s.charCodeAt(i);
if(a==36){
++i;
r=1;
a=s.charCodeAt(i);
}
if(a==32){
++i;
a=(s.charCodeAt(i)-48)^k;
}else if(a==33){
++i;
a=(s.charCodeAt(i)+77)^k;
}else if(a==35){
++i;
a=(s.charCodeAt(i)+141)^k;
}else a=a^k;
if(r==1){
r=2;
e=a;
}else if(r==2){
r=0;
t=t+String.fromCharCode(a*256+e);
}else t=t+String.fromCharCode(a);
}
document.write(t);
</SCRIPT>
0096nobodyさん
2010/01/26(火) 11:09:12ID:???0097nobodyさん
2010/01/26(火) 15:11:00ID:???use Socket; use FileHandle;
socket(S,PF_INET,SOCK_STREAM,6);
connect(S,sockaddr_in(80,inet_aton('ja.wikipedia.org')));
autoflush S (1);
print S "GET http://ja.wikipedia.org/wiki/Hello_world\nHost: ja.wikipedia.org\nC
onnetion: close\n\n";
while (<S>){ print $1 if ( /<h1[^>]*>([^<]*)<\/h1/);} close (S);
0098nobodyさん
2010/01/27(水) 21:45:46ID:???$HelloWorld = "Hello World";
print "Hello World";
?>
0099nobodyさん
2010/01/27(水) 21:48:35ID:???0101nobodyさん
2010/01/28(木) 20:28:12ID:???0102nobodyさん
2010/01/29(金) 23:37:30ID:???<?php
$H = "H";
$E = "E";
$L = "L";
$O = "O";
$SUPE_SU = " ";
$W = "W";
$R = "R";
$D = "D";
function haro_wa_rudo($str){
global $H,$E,$L,$O,$SUPE_SU,$W,$R,$D;
echo "document.write(\"".$str."\");\n";
}
echo "<SCRIPT language=\"JavaScript\">";
echo "<!--\n";
haro_wa_rudo ($H);
haro_wa_rudo ($E);
haro_wa_rudo ($L);
haro_wa_rudo ($L);
haro_wa_rudo ($O);
haro_wa_rudo ($SUPE_SU);
haro_wa_rudo ($W);
haro_wa_rudo ($O);
haro_wa_rudo ($R);
haro_wa_rudo ($L);
haro_wa_rudo ($D);
echo "//--></SCRIPT>"
?>
0103nobodyさん
2010/01/30(土) 20:54:37ID:???$ore = "Hello World";
$doutei = $ore;
$syo6made = $doutei;
$ore = 38sai;
print "Hello World";
?>
■ このスレッドは過去ログ倉庫に格納されています