WordPress.org

Make WordPress Core

Ticket #16892: test-segfault.php

File test-segfault.php, 362 bytes (added by hakre, 3 years ago)

Testscript

Line 
1<?php
2/**
3 * test-segfault.php
4 *
5 * USAGE:
6 *
7 *   Place into wordpress install folder, then
8 *   request it via the browser.
9 *
10 * @see http://core.trac.wordpress.org/ticket/16892
11 */
12
13require dirname(__FILE__) . '/wp-load.php';
14
15$url = 'http://example.com/2011/03/18/post-title/';
16$comment = str_repeat($url, 256);
17
18make_clickable($comment);