[ create a new paste ] login | about

unholyranger

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:

Saved pastes by unholyranger:

PHP, pasted on Oct 3:
1
2
3
4
5
<?php
/*
Tail-recursive implementation of substr_count
*/
function recCount($string, $find, $count){
...
view (19 lines, 1 line of output)
PHP, pasted on May 27:
1
2
3
4
5
<?php

$array = array("item_1" => 1, "item_2" =>2);

echo $array[item_1];
...
view (7 lines, 1 line of output)
PHP, pasted on Mar 18:
1
2
3
4
5
<?php
$zip = new ZipArchive();

// open archive 
if ($zip->open('my-archive.zip', ZIPARCHIVE::CREATE) !== TRUE) {
...
view (21 lines)