[ create a new paste ] login | about

IkimashoZ

Name: Matthew Buscemi
Email:
Site/Blog: http://www.matthewbuscemi.com/
Location:
Default language: PHP
Favorite languages: PHP
About:

Saved pastes by IkimashoZ:

PHP, pasted on Feb 28:
1
2
3
4
5
<?php
  $books = array(
    array(
     "title"        => "War of the Worlds",
     "image"        => "war_of_the_worlds.png",
...
view (94 lines, 71 lines of output)
PHP, pasted on Feb 28:
1
2
3
4
5
<?php

$test = null;

switch($test) {
...
view (14 lines, 1 line of output)
PHP, pasted on Feb 21:
1
2
3
4
<?php

  $caseSensitiveTest = array( 'nan'=>1, 'NaN'=>2, 'Nan'=>3 );
  var_dump($caseSensitiveTest);
...
view (6 lines, 8 lines of output)
PHP, pasted on Feb 12:
1
2
3
4
5
<?php
for($x=0; $x<5; $x++) {
  var_dump($x); echo PHP_EOL;
}
var_dump($x);
...
view (6 lines, 11 lines of output)
PHP, pasted on Jan 1:
1
2
3
4
5
<?php

  $i = 0;

  while($i < 5) {
...
view (22 lines, 11 lines of output)
PHP, pasted on Jan 1:
1
2
3
4
5
<?php

  $i = 0;

  while($i < 5) {
...
view (24 lines, 13 lines of output)
PHP, pasted on Jan 1:
1
2
3
4
<?php

  $loop = true;
  $count = 0;
...
view (13 lines)
PHP, pasted on Dec 31:
1
2
3
4
5
<?php

  $menu = array(

    array(
...
view (51 lines, 35 lines of output)
PHP, pasted on Dec 31:
1
2
3
4
<?php

  $animals = array( 'dog', 'cat', 'fox', 'zebra', 'lemur', 'ox', 
                    'giraffe', 'koala', 'aardvark', 'hedgehog' );
...
view (8 lines, 13 lines of output, 1 comment)
PHP, pasted on Dec 31:
1
2
3
4
5
<?php

  $array = array();
  for($x=0; $x<5; $x++) {
    $array[] = rand(1, 5);
...
view (10 lines, 8 lines of output)
PHP, pasted on Dec 30:
1
2
3
4
5
<?php

  for($x=0; $x<10; $x++) {
    echo $x."\n";
  }
...
view (13 lines, 21 lines of output)
PHP, pasted on Dec 30:
1
2
3
4
5
<?php

  $x = 1;
  $y = 8;
  $z = 4;
...
view (34 lines, 15 lines of output, 1 comment)
PHP, pasted on Dec 30:
1
2
3
4
<?php
  $randomNumber = rand(1, 12);
  echo $randomNumber;
?>
view (4 lines, 1 line of output)
PHP, pasted on Dec 29:
1
2
3
4
5
<?php

  $a = 4;
  $b = 4.0;
  $c = "4";
...
view (31 lines, 12 lines of output)
PHP, pasted on Dec 25:
1
2
3
4
5
<?php

  $var1 = "abcde";
  $var2 = "fghij";
  $var3 = "klmno";
...
view (20 lines, 2 lines of output)
PHP, pasted on Dec 25:
1
2
3
4
5
<!doctype html>
<html>

  <head>
    <title>Variable Types</title>
...
view (26 lines, 19 lines of output)
PHP, pasted on Dec 25:
1
2
3
4
5
<?php

  $a = 3;
  $b = 4;
  $c = 5;
...
view (9 lines, 1 line of output, 2 comments)
PHP, pasted on Dec 25:
1
2
3
4
5
<?php
  $line1 = 'This is more than five syllables.<br/>';
?>
<!doctype html>
<html>
...
view (21 lines, 15 lines of output)
PHP, pasted on Dec 25:
1
2
3
4
5
<html>
<head><title>Hello World Page</title></head>
<body>
<?php
  echo "Hello World!";
...
view (8 lines, 5 lines of output, 3 comments)