<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Inserts a breakpoint at entry to a function</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.phpdbg-break-file.html">phpdbg_break_file</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.phpdbg-break-method.html">phpdbg_break_method</a></div> <div class="up"><a href="ref.phpdbg.html">phpdbg Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.phpdbg-break-function" class="refentry"> <div class="refnamediv"> <h1 class="refname">phpdbg_break_function</h1> <p class="verinfo">(PHP 5 >= 5.6.3, PHP 7)</p><p class="refpurpose"><span class="refname">phpdbg_break_function</span> — <span class="dc-title">Inserts a breakpoint at entry to a function</span></p> </div> <div class="refsect1 description" id="refsect1-function.phpdbg-break-function-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>phpdbg_break_function</strong></span> ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$function</code></span> )</div> <p class="para rdfs-comment"> Insert a breakpoint at the entry to the given <code class="parameter">function</code>. </p> </div> <div class="refsect1 parameters" id="refsect1-function.phpdbg-break-function-parameters"> <h3 class="title">Parameters</h3> <dl> <dt> <code class="parameter">function</code></dt> <dd> <p class="para"> The name of the function. </p> </dd> </dl> </div> <div class="refsect1 returnvalues" id="refsect1-function.phpdbg-break-function-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> <div class="refsect1 seealso" id="refsect1-function.phpdbg-break-function-seealso"> <h3 class="title">See Also</h3> <ul class="simplelist"> <li class="member"><span class="function"><a href="function.phpdbg-break-file.html" class="function" rel="rdfs-seeAlso">phpdbg_break_file()</a> - Inserts a breakpoint at a line in a file</span></li> <li class="member"><span class="function"><a href="function.phpdbg-break-method.html" class="function" rel="rdfs-seeAlso">phpdbg_break_method()</a> - Inserts a breakpoint at entry to a method</span></li> <li class="member"><span class="function"><a href="function.phpdbg-break-next.html" class="function" rel="rdfs-seeAlso">phpdbg_break_next()</a> - Inserts a breakpoint at the next opcode</span></li> <li class="member"><span class="function"><a href="function.phpdbg-clear.html" class="function" rel="rdfs-seeAlso">phpdbg_clear()</a> - Clears all breakpoints</span></li> </ul> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.phpdbg-break-file.html">phpdbg_break_file</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.phpdbg-break-method.html">phpdbg_break_method</a></div> <div class="up"><a href="ref.phpdbg.html">phpdbg Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>