3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html='<div class="pageContainer"> <div class="pageBox"> <{if $data.nowPage>1}> <div class="pageArrow pageFirst"><a href="?<{if !empty($data.years)}>y=<{$data.years}><{/if}><{if !empty($data.month)}>&m=<{$data.month}><{/if}>&p=1"><span class="icon arrow-first"></span></a></div> <div class="pageArrow pagePrev"><a href="?<{if !empty($data.years)}>y=<{$data.years}><{/if}><{if !empty($data.month)}>&m=<{$data.month}><{/if}>&p=<{$data.nowPage-1}>"><span class="icon arrow-left"></span></a></div> <{/if}> <{for $i=$data.nowPage-$data.pageFit to $data.totalPage}> <{if $data.nowPage == ($i)}> <div class="pageBtn active"><a href="javascript:void(0);"><{$i}></a></div> <{else if $i>($data.nowPage+$data.pageFit)}> <div class="pageMore"><span class="icon moreIcon"></span></div> <{break}> <{else if $i>0}> <{if $i==$data.nowPage-$data.pageFit && $i>1}> <div class="pageMore"><span class="icon moreIcon"></span></div> <{/if}> <div class="pageBtn"><a href="?<{if !empty($data.years)}>y=<{$data.years}><{/if}><{if !empty($data.month)}>&m=<{$data.month}><{/if}>&p=<{$i}>"><{$i}></a></div> <{else}> <{/if}> <{/for}> <{if $data.nowPage<$data.totalPage}> <div class="pageArrow pageNext"><a href="?<{if !empty($data.years)}>y=<{$data.years}><{/if}><{if !empty($data.month)}>&m=<{$data.month}><{/if}>&p=<{$data.nowPage+1}>"><span class="icon arrow-right"></span></a></div> <div class="pageArrow pageLast"><a href="?<{if !empty($data.years)}>y=<{$data.years}><{/if}><{if !empty($data.month)}>&m=<{$data.month}><{/if}>&p=<{$data.totalPage}>"><span class="icon arrow-last"></span></a></div> <{/if}> </div> </div>'; echo preg_replace('~<{if \$data\.nowPage>1}>(?:\s+<div.*?</div>)+\s+<{/if}>~','',$html);

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.5.30.0100.00820.46
8.5.20.0120.00619.54
8.5.10.0140.00516.61
8.5.00.0140.00820.08
8.4.180.0130.00919.72
8.4.170.0110.01220.40
8.4.160.0110.01323.92
8.4.150.0060.00616.93
8.4.140.0140.00817.82
8.4.130.0120.01018.17
8.4.120.0120.00820.52
8.4.110.0090.00820.47
8.4.100.0110.00718.75
8.4.90.0080.00220.52
8.4.80.0060.00318.71
8.4.70.0060.01218.99
8.4.60.0110.00518.72
8.4.50.0130.00720.30
8.4.40.0100.00719.68
8.4.30.0090.00917.64
8.4.20.0100.01019.45
8.4.10.0070.01417.69
8.3.300.0120.00920.93
8.3.290.0130.01120.98
8.3.280.0110.01118.67
8.3.270.0110.00816.47
8.3.260.0110.00816.57
8.3.250.0110.00918.93
8.3.240.0060.00616.62
8.3.230.0050.01016.74
8.3.220.0080.00818.73
8.3.210.0140.00616.56
8.3.200.0070.00516.63
8.3.190.0050.00917.01
8.3.180.0110.00818.89
8.3.170.0130.00316.95
8.3.160.0000.01417.14
8.3.150.0060.00316.95
8.3.140.0060.00319.00
8.3.130.0110.00416.71
8.3.120.0090.00918.81
8.3.110.0080.00316.53
8.3.100.0030.00618.38
8.3.90.0030.00526.77
8.3.80.0030.00616.63
8.3.70.0160.00616.63
8.3.60.0110.00416.63
8.3.50.0080.00517.36
8.3.40.0150.00018.88
8.3.30.0120.00318.79
8.3.20.0040.00421.73
8.3.10.0070.00021.95
8.3.00.0040.00419.68
8.2.300.0130.00922.29
8.2.290.0100.00820.28
8.2.280.0090.01020.36
8.2.270.0100.01016.76
8.2.260.0120.00616.51
8.2.250.0000.00718.63
8.2.240.0100.00016.63
8.2.230.0030.00620.94
8.2.220.0090.00024.06
8.2.210.0080.00026.77
8.2.200.0090.00016.50
8.2.190.0260.01316.88
8.2.180.0040.01216.88
8.2.170.0170.00319.04
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00924.66
8.2.130.0080.00020.44
8.2.120.0040.00426.35
8.2.110.0030.00621.12
8.2.100.0070.00419.89
8.2.90.0030.00619.38
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0080.00017.79
8.2.50.0060.00318.07
8.2.40.0030.00619.88
8.2.30.0040.00818.16
8.2.20.0000.00718.10
8.2.10.0070.00018.01
8.2.00.0000.00717.91
8.1.340.0140.00717.68
8.1.330.0100.00816.68
8.1.320.0080.00516.56
8.1.310.0120.00816.48
8.1.300.0130.00618.18
8.1.290.0090.00030.84
8.1.280.0060.01225.92
8.1.270.0080.00023.99
8.1.260.0120.00326.35
8.1.250.0070.00728.09
8.1.240.0070.00321.25
8.1.230.0040.00822.25
8.1.220.0000.00917.76
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0000.00817.36
8.1.180.0030.00618.10
8.1.170.0040.00818.71
8.1.160.0030.00518.78
8.1.150.0030.00622.07
8.1.140.0040.00417.55
8.1.130.0000.00718.95
8.1.120.0100.00017.58
8.1.110.0030.00717.53
8.1.100.0000.00717.52
8.1.90.0050.00317.43
8.1.80.0000.00817.52
8.1.70.0050.00317.53
8.1.60.0040.00417.57
8.1.50.0100.00017.58
8.1.40.0000.00817.57
8.1.30.0040.00417.70
8.1.20.0050.00317.73
8.1.10.0030.00617.67
8.1.00.0030.00617.58
8.0.300.0060.00318.77
8.0.290.0040.00416.88
8.0.280.0030.00318.42
8.0.270.0000.00717.17
8.0.260.0030.00317.01
8.0.250.0030.00517.02
8.0.240.0080.00017.03
8.0.230.0030.00416.92
8.0.220.0030.00316.98
8.0.210.0030.00516.98
8.0.200.0000.00917.09
8.0.190.0050.00217.06
8.0.180.0060.00316.91
8.0.170.0030.00617.05
8.0.160.0000.00717.09
8.0.150.0000.00716.92
8.0.140.0000.00816.93
8.0.130.0000.00613.43
8.0.120.0040.00416.98
8.0.110.0040.00416.89
8.0.100.0040.00417.10
8.0.90.0050.00316.88
8.0.80.0120.00416.94
8.0.70.0070.00016.95
8.0.60.0040.00417.12
8.0.50.0000.00816.92
8.0.30.0110.00817.26
8.0.20.0110.00817.40
8.0.10.0070.00016.98
8.0.00.0090.00817.11
7.4.330.0040.00015.55
7.4.320.0080.00016.59
7.4.300.0070.00016.67
7.4.290.0030.00316.73
7.4.280.0030.00516.66
7.4.270.0060.00316.77
7.4.260.0030.00316.64
7.4.250.0000.00716.64
7.4.240.0000.00716.81
7.4.230.0030.00316.47
7.4.220.0000.00716.51
7.4.210.0080.00616.81
7.4.200.0000.00816.74
7.4.160.0110.00716.62
7.4.150.0280.01617.40
7.4.140.0120.00617.86
7.4.130.0180.00016.73
7.4.120.0110.00916.63
7.4.110.0130.00416.64
7.4.100.0090.00916.86
7.4.90.0090.00916.76
7.4.80.0000.01819.39
7.4.70.0110.01116.86
7.4.60.0090.01216.50
7.4.50.0070.01116.50
7.4.40.0100.00716.61
7.4.00.0030.01415.24
7.3.330.0020.00213.02
7.3.320.0030.00313.21
7.3.310.0000.00816.23
7.3.300.0070.00016.15
7.3.290.0030.00316.32
7.3.280.0090.00816.30
7.3.270.0110.00617.40
7.3.260.0060.01216.32
7.3.240.0110.01016.46
7.3.230.0110.00816.26
7.3.210.0100.01316.50
7.3.200.0100.00616.37
7.3.190.0090.00916.52
7.3.180.0120.00616.63
7.3.170.0090.00916.73
7.3.160.0110.00716.69
7.2.330.0120.00916.80
7.2.320.0120.00916.79
7.2.310.0140.00416.71
7.2.300.0100.00716.46
7.2.290.0110.00616.63
7.2.60.0090.00616.86
7.2.20.0080.01020.00
7.2.10.0160.01419.93
7.2.00.0120.01619.91
7.1.200.0030.00515.76
7.1.140.0100.01218.57
7.1.130.0110.01618.61
7.1.120.0080.01318.78
7.1.110.0070.01418.02
7.1.100.0080.01218.28
7.1.90.0070.01018.00
7.1.80.0050.01318.10
7.1.70.0110.01017.09
7.1.60.0260.01135.20
7.1.50.0210.01435.05
7.1.40.0240.01534.69
7.1.30.0250.01734.83
7.1.20.0240.01534.71
7.1.10.0080.01516.68
7.1.00.0050.01116.95

preferences:
49.17 ms | 1709 KiB | 5 Q