<commit_before># $Id$

# steal builtins from Perl6
# TODO: put that into php_builtins.pir
.sub 'print'
    .param pmc list            :slurpy
    .local pmc iter

    iter = new .Iterator, list
  iter_loop:
    unless iter goto iter_end
    $P0 = shift iter
    print $P0
    goto iter_loop

  iter_end:
    .return (1)
.end

# steal builtins from Perl6
# TODO: put that into php_builtins.pir
.sub 'echo'
    .param pmc list            :slurpy

    _dumper( list, 'list' )
    print "entered echo"

    .local pmc iter
    iter = new .Iterator, list
  iter_loop:
    unless iter goto iter_end
    $P0 = shift iter
    print $P0
    goto iter_loop

  iter_end:
    .return (1)
.end

.sub 'prefix:-' :multi(Float)
    .param pmc a

    $N0 = a
    $N0 = neg $N0

    .return ($N0)
.end

.sub 'prefix:-' :multi(Integer)
    .param int a

    $I0 = neg a
<commit_msg>[Plumhead] Remove debug output. Make tests pass for 'phc' variant.<commit_after># $Id$

# steal builtins from Perl6
# TODO: put that into php_builtins.pir
.sub 'print'
    .param pmc list            :slurpy
    .local pmc iter

    iter = new .Iterator, list
  iter_loop:
    unless iter goto iter_end
    $P0 = shift iter
    print $P0
    goto iter_loop

  iter_end:
    .return (1)
.end

# steal builtins from Perl6
# TODO: put that into php_builtins.pir
.sub 'echo'
    .param pmc list            :slurpy

    .local pmc iter
    iter = new .Iterator, list
  iter_loop:
    unless iter goto iter_end
    $P0 = shift iter
    print $P0
    goto iter_loop

  iter_end:
    .return (1)
.end

.sub 'prefix:-' :multi(Float)
    .param pmc a

    $N0 = a
    $N0 = neg $N0

    .return ($N0)
.end

.sub 'prefix:-' :multi(Integer)
    .param int a

    $I0 = neg a

{'fraction_non_alphanumeric': 0.10028985507246377, 'fraction_numerical': 0.015072463768115942, 'mean_word_length': 2.115523465703971, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '516015', 'n_tokens_mistral': 665, 'n_tokens_neox': 635, 'n_words': 217}