3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Fist full of comments if (!function_exists("custom_comment")) { function custom_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li <?php comment_class(); ?>> <a name="comment-<?php comment_ID() ?>"></a> <div id="li-comment-<?php comment_ID() ?>" class="comment-container"> <div class="comment-head"> <?php if(get_comment_type() == "comment"){ ?> <div class="avatar"><?php the_commenter_avatar($args) ?></div> <?php } ?> <div class="reply"> <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?> </div><!-- /.reply --> </div><!-- /.comment-head --> <div class="comment-entry" id="comment-<?php comment_ID(); ?>"> <span class="arrow"></span> <div class="comment-info"> <div class="rastm"><span class="name"><?php the_commenter_link() ?></span></div> <div class="chapm"> <span class="date"><?php echo get_comment_date(get_option( 'date_format' )) ?> <?php _e('at', 'themejunkie'); ?> <?php echo get_comment_time(get_option( 'time_format' )); ?></span> <span class="edit"><?php edit_comment_link('ویرایش', '', ''); ?></span> </div> <div class=makh >سایت آزمون دکتری</div> <div class="clear"></div> </div> <?php comment_text() ?> <?php if ($comment->comment_approved == '0') { ?> <p class='unapproved'>نظر شما در انتظار تایید است.</p> <?php } ?> </div><!-- /comment-entry --> </div><!-- /.comment-container --> <?php } } // PINGBACK / TRACKBACK OUTPUT if (!function_exists("list_pings")) { function list_pings($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li id="comment-<?php comment_ID(); ?>"> <span class="author"><?php comment_author_link(); ?></span> - <span class="date"><?php echo get_comment_date(get_option( 'date_format' )) ?></span> <span class="pingcontent"><?php comment_text() ?></span> <?php } } if (!function_exists("the_commenter_link")) { function the_commenter_link() { $commenter = get_comment_author_link(); if ( ereg( ']* class=[^>]+>', $commenter ) ) {$commenter = ereg_replace( '(]* class=[\'"]?)', '\\1url ' , $commenter ); } else { $commenter = ereg_replace( '(<a )/', '\\1class="url "' , $commenter );} echo $commenter ; } } if (!function_exists("the_commenter_avatar")) { function the_commenter_avatar($args) { $email = get_comment_author_email(); $avatar = str_replace( "class='avatar", "class='photo avatar", get_avatar( "$email", $args['avatar_size']) ); echo $avatar; } } ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0070.01016.63
8.3.50.0080.00822.89
8.3.40.0070.01118.49
8.3.30.0070.00719.15
8.3.20.0040.00420.21
8.3.10.0030.00523.48
8.3.00.0000.00817.38
8.2.180.0180.00416.32
8.2.170.0120.00922.96
8.2.160.0040.01120.40
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0050.00221.09
8.2.110.0000.00922.29
8.2.100.0080.00318.22
8.2.90.0040.00419.08
8.2.80.0060.00317.97
8.2.70.0000.01217.38
8.2.60.0090.00017.80
8.2.50.0000.00818.07
8.2.40.0050.00218.09
8.2.30.0050.00218.15
8.2.20.0060.00317.54
8.2.10.0080.00017.93
8.2.00.0070.00017.70
8.1.280.0070.00725.92
8.1.270.0080.00023.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.72
8.1.230.0090.00319.16
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0120.00017.23
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0040.00418.56
8.1.160.0050.00322.06
8.1.150.0050.00218.88
8.1.140.0040.00417.43
8.1.130.0030.00317.71
8.1.120.0000.00817.46
8.1.110.0040.00417.32
8.1.100.0030.00517.50
8.1.90.0040.00417.48
8.1.80.0000.00817.35
8.1.70.0030.00317.44
8.1.60.0000.00817.39
8.1.50.0040.00417.51
8.1.40.0000.00817.45
8.1.30.0030.00517.46
8.1.20.0040.00417.52
8.1.10.0050.00317.33
8.1.00.0040.00417.36
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00418.43
8.0.270.0080.00017.28
8.0.260.0040.00417.29
8.0.250.0030.00316.96
8.0.240.0080.00016.80
8.0.230.0030.00316.90
8.0.220.0040.00416.88
8.0.210.0070.00016.81
8.0.200.0000.00616.91
8.0.190.0040.00416.96
8.0.180.0000.00716.89
8.0.170.0000.00816.91
8.0.160.0070.00016.80
8.0.150.0030.00516.82
8.0.140.0070.00016.80
8.0.130.0000.00513.34
8.0.120.0080.00016.71
8.0.110.0040.00416.78
8.0.100.0040.00416.89
8.0.90.0070.00016.94
8.0.80.0070.01016.88
8.0.70.0050.00216.78
8.0.60.0000.00716.66
8.0.50.0070.00016.93
8.0.30.0100.01017.19
8.0.20.0120.00817.40
8.0.10.0040.00416.95
8.0.00.0120.00716.79
7.4.330.0000.00615.00
7.4.320.0030.00316.50
7.4.300.0030.00316.58
7.4.290.0030.00316.58
7.4.280.0050.00316.62
7.4.270.0030.00316.49
7.4.260.0040.00416.58
7.4.250.0030.00316.57
7.4.240.0020.00616.54
7.4.230.0040.00416.57
7.4.220.0090.00916.69
7.4.210.0030.01016.60
7.4.200.0050.00316.67
7.4.160.0100.00616.38
7.4.150.0120.00617.40
7.4.140.0050.01217.86
7.4.130.0150.00616.49
7.4.120.0090.00816.60
7.4.110.0140.00416.28
7.4.100.0100.00716.28
7.4.90.0140.00316.60
7.4.80.0140.00819.39
7.4.70.0090.01216.59
7.4.60.0090.00916.61
7.4.50.0030.00616.23
7.4.40.0100.00716.62
7.4.30.0090.00616.41
7.4.00.0150.00014.89
7.3.330.0000.00713.21
7.3.320.0050.00013.16
7.3.310.0030.00316.21
7.3.300.0070.00016.10
7.3.290.0130.00616.24
7.3.280.0090.00716.22
7.3.270.0150.00617.40
7.3.260.0000.01816.41
7.3.240.0140.00316.48
7.3.230.0100.00716.39
7.3.210.0080.00816.63
7.3.200.0110.00619.39
7.3.190.0100.00716.48
7.3.180.0070.01016.57
7.3.170.0120.00916.27
7.3.160.0070.01016.55
7.2.330.0070.01016.61
7.2.320.0140.00316.64
7.2.310.0120.00916.40
7.2.300.0120.00416.66
7.2.290.0040.01216.41
7.2.00.0030.00919.36
7.1.100.0110.00317.68
7.1.70.0040.00817.19
7.1.60.0040.01519.40
7.1.50.0070.01416.55
7.1.00.0030.07722.37
7.0.200.0000.00816.52
7.0.140.0000.07722.10
7.0.60.0070.08319.86
7.0.50.0070.07317.99
7.0.40.0000.09320.10
7.0.30.0300.06020.16
7.0.20.0430.07020.26
7.0.10.0170.04020.15
7.0.00.0030.04320.23
5.6.280.0000.07721.09
5.6.210.0100.08020.71
5.6.200.0100.05718.32
5.6.190.0030.04320.48
5.6.180.0370.07320.48
5.6.170.0270.04320.51
5.6.160.0070.05720.71
5.6.150.0100.08318.18
5.6.140.0130.07318.27
5.6.130.0130.07318.20
5.6.120.0030.04321.05
5.6.110.0100.07721.00
5.6.100.0100.08021.14
5.6.90.0100.08021.10
5.6.80.0170.07020.39
5.5.350.0270.07720.33
5.5.340.0070.04317.96
5.5.330.0170.07320.35
5.5.320.0200.07020.32
5.5.310.0300.08020.34
5.5.300.0070.06018.08
5.5.290.0070.07317.98
5.5.280.0100.05020.85
5.5.270.0030.05320.89
5.5.260.0100.03720.95
5.5.250.0100.08020.61
5.5.240.0000.07020.14
5.4.450.0770.05319.61
5.4.440.0870.07019.48
5.4.430.0530.05719.46
5.4.420.0670.05319.19
5.4.410.0130.04719.06
5.4.400.1070.06018.83
5.4.390.0930.05718.77
5.4.380.0130.04718.52
5.4.370.0170.04718.72
5.4.360.0130.03318.59
5.4.350.0090.03612.04
5.4.340.0040.03812.04
5.4.320.0060.04312.53
5.4.310.0080.03912.52
5.4.300.0060.03912.53
5.4.290.0050.03912.52
5.4.280.0030.03812.42
5.4.270.0030.03912.42
5.4.260.0080.03712.42
5.4.250.0080.03912.42
5.4.240.0070.04312.42
5.4.230.0090.03412.41
5.4.220.0080.03312.41
5.4.210.0040.03712.41
5.4.200.0030.04112.42
5.4.190.0070.04512.41
5.4.180.0080.04612.41
5.4.170.0060.03412.41
5.4.160.0050.03612.41
5.4.150.0070.03612.41
5.4.140.0060.03612.09
5.4.130.0070.03412.08
5.4.120.0060.03512.04
5.4.110.0060.04112.03
5.4.100.0050.03512.04
5.4.90.0030.03912.04
5.4.80.0070.03512.03
5.4.70.0060.03512.04
5.4.60.0040.03812.03
5.4.50.0030.03812.04
5.4.40.0050.03812.02
5.4.30.0050.03612.02
5.4.20.0060.03512.02
5.4.10.0040.04612.02
5.4.00.0050.03611.51
5.3.290.0070.04012.80
5.3.280.0060.03812.71
5.3.270.0060.04012.73
5.3.260.0070.03712.72
5.3.250.0070.03512.72
5.3.240.0030.04012.72
5.3.230.0070.03712.71
5.3.220.0030.04112.68
5.3.210.0070.03812.68
5.3.200.0050.03912.68
5.3.190.0060.03912.68
5.3.180.0040.04112.67
5.3.170.0050.03712.67
5.3.160.0040.03812.68
5.3.150.0110.03612.68
5.3.140.0080.04712.67
5.3.130.0040.05112.66
5.3.120.0050.05212.66
5.3.110.0060.04612.67
5.3.100.0070.03812.14
5.3.90.0060.03912.13
5.3.80.0080.03712.12
5.3.70.0060.05012.12
5.3.60.0070.04212.11
5.3.50.0080.03712.05
5.3.40.0090.04012.05
5.3.30.0050.04112.01
5.3.20.0060.03511.79
5.3.10.0060.03611.75
5.3.00.0060.03811.75
5.2.170.0060.0359.26
5.2.160.0060.0399.25
5.2.150.0060.0389.25
5.2.140.0050.0419.25
5.2.130.0020.0369.21
5.2.120.0080.0289.21
5.2.110.0090.0259.21
5.2.100.0030.0309.21
5.2.90.0100.0329.21
5.2.80.0070.0309.21
5.2.70.0070.0369.21
5.2.60.0040.0349.16
5.2.50.0010.0349.13
5.2.40.0050.0369.11
5.2.30.0070.0289.08
5.2.20.0050.0289.06
5.2.10.0060.0268.97
5.2.00.0050.0288.84
5.1.60.0050.0318.12
5.1.50.0040.0258.11
5.1.40.0060.0328.10
5.1.30.0050.0268.45
5.1.20.0040.0318.47
5.1.10.0040.0268.19
5.1.00.0050.0258.20
5.0.50.0030.0236.68
5.0.40.0040.0226.53
5.0.30.0040.0326.35
5.0.20.0030.0226.31
5.0.10.0060.0226.29
5.0.00.0030.0326.29
4.4.90.0030.0174.78
4.4.80.0050.0174.76
4.4.70.0010.0204.76
4.4.60.0030.0184.76
4.4.50.0040.0214.77
4.4.40.0020.0264.71
4.4.30.0040.0174.76
4.4.20.0040.0184.85
4.4.10.0020.0174.85
4.4.00.0030.0294.76
4.3.110.0030.0154.67
4.3.100.0010.0164.66
4.3.90.0020.0164.64
4.3.80.0030.0254.58
4.3.70.0030.0154.63
4.3.60.0030.0144.63
4.3.50.0040.0184.63
4.3.40.0010.0254.54
4.3.30.0020.0163.34
4.3.20.0020.0163.32
4.3.10.0010.0163.27
4.3.00.0130.0207.14

preferences:
41.48 ms | 401 KiB | 5 Q