3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = range(27,58); $json = array_fill_keys($json); print_r($json);die; $additional=''; for($i=27;$i<=58;$i++){ if(!empty($json['field'.$i]) && $i!=31 && $i!=42 && $i!=54){ $additional.='<li>'.$pdfdata['field'.$i].'</li>'; } } $html= " <div class=\"logo\" style=\"float: right; \"> <img src=\"img/LOGO2.png\" width=\"40%\" alt=\"\"> </div> <div class=\"clear\" style=\"clear: both\"></div> <div class=\"content\"> <p>To: $name</p> <p>Trading Entity: {$json['field10']}</p> </div> <div class='content-inner'> <p>Other Things: </p> $additional </div> ";

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.00716.63
8.3.50.0110.00716.49
8.3.40.0100.00318.71
8.3.30.0060.00818.71
8.3.20.0060.01221.86
8.3.10.0090.00023.52
8.3.00.0080.00019.79
8.2.180.0180.00416.63
8.2.170.0070.00722.96
8.2.160.0070.00720.23
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00420.35
8.2.120.0040.00426.35
8.2.110.0070.00322.31
8.2.100.0080.00417.84
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0030.00717.50
8.2.60.0040.00417.91
8.2.50.0040.00418.10
8.2.40.0020.00520.55
8.2.30.0000.00719.07
8.2.20.0000.00718.00
8.2.10.0000.00818.00
8.2.00.0000.00817.92
8.1.280.0140.00025.92
8.1.270.0060.00318.87
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00623.97
8.1.230.0070.00417.70
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0070.00317.35
8.1.190.0040.00417.22
8.1.180.0030.00618.10
8.1.170.0080.00018.59
8.1.160.0000.00718.93
8.1.150.0040.00420.67
8.1.140.0050.00319.54
8.1.130.0040.00420.49
8.1.120.0000.00717.37
8.1.110.0030.00617.41
8.1.100.0030.00617.30
8.1.90.0040.00417.30
8.1.80.0070.00017.34
8.1.70.0080.00317.34
8.1.60.0050.00517.45
8.1.50.0000.00817.55
8.1.40.0080.00017.54
8.1.30.0050.00317.66
8.1.20.0040.00417.50
8.1.10.0000.00717.48
8.1.00.0060.00317.53
8.0.300.0000.00820.02
8.0.290.0000.00816.63
8.0.280.0070.00018.29
8.0.270.0030.00317.20
8.0.260.0060.00018.73
8.0.250.0060.00316.90
8.0.240.0030.00816.85
8.0.230.0000.00717.00
8.0.220.0030.00316.87
8.0.210.0000.00716.86
8.0.200.0030.00316.95
8.0.190.0020.00516.98
8.0.180.0000.00716.96
8.0.170.0050.00316.90
8.0.160.0030.00316.86
8.0.150.0050.00216.92
8.0.140.0000.00716.83
8.0.130.0030.00313.32
8.0.120.0000.00816.83
8.0.110.0030.00316.93
8.0.100.0030.00516.80
8.0.90.0020.00516.86
8.0.80.0000.01516.83
8.0.70.0040.00416.71
8.0.60.0030.00516.81
8.0.50.0000.00716.70
8.0.30.0140.00617.04
8.0.20.0120.00717.40
8.0.10.0020.00516.98
8.0.00.0140.00716.66
7.4.330.0050.00016.79
7.4.320.0000.00716.50
7.4.300.0000.00716.36
7.4.290.0000.00716.34
7.4.280.0040.00416.38
7.4.270.0030.00716.45
7.4.260.0030.00316.43
7.4.250.0040.00416.43
7.4.240.0000.00716.46
7.4.230.0000.00616.34
7.4.220.0070.01116.64
7.4.210.0120.00316.48
7.4.200.0050.00216.55
7.4.160.0080.01216.44
7.4.150.0060.01017.40
7.4.140.0090.00817.86
7.4.130.0130.01016.47
7.4.120.0130.01016.46
7.4.110.0160.00616.57
7.4.100.0060.01616.41
7.4.90.0090.00916.44
7.4.80.0120.00619.39
7.4.70.0100.00616.38
7.4.60.0120.00416.48
7.4.50.0090.00616.26
7.4.40.0090.00616.41
7.4.30.0180.00416.54
7.4.10.0090.00614.83
7.4.00.0050.01214.96
7.3.330.0050.00013.10
7.3.320.0020.00213.09
7.3.310.0000.00716.06
7.3.300.0040.00415.94
7.3.290.0070.00916.22
7.3.280.0090.00916.22
7.3.270.0070.01017.40
7.3.260.0080.00816.25
7.3.250.0080.00916.19
7.3.240.0050.01516.18
7.3.230.0080.01516.27
7.3.210.0060.01016.24
7.3.200.0070.01316.11
7.3.190.0090.00616.32
7.3.180.0060.01016.27
7.3.170.0070.00716.46
7.3.160.0140.00416.48
7.3.130.0060.00914.66
7.3.120.0040.01114.64
7.3.110.0060.01314.75
7.3.100.0100.00714.54
7.3.90.0000.01514.82
7.3.80.0000.00914.56
7.3.70.0000.01314.48
7.3.60.0070.00714.58
7.3.50.0090.00614.68
7.3.40.0070.00714.59
7.3.30.0050.00514.58
7.3.20.0030.01016.39
7.3.10.0040.00816.61
7.3.00.0000.00816.43
7.2.330.0090.01016.41
7.2.320.0100.00716.52
7.2.310.0100.01116.64
7.2.300.0110.00616.67
7.2.290.0030.01416.66
7.2.260.0070.01115.11
7.2.250.0040.01514.87
7.2.240.0030.01214.92
7.2.230.0040.00815.15
7.2.220.0100.01014.66
7.2.210.0090.00614.87
7.2.200.0030.01414.69
7.2.190.0030.01414.71
7.2.180.0000.01314.86
7.2.170.0070.00715.04
7.2.160.0030.01015.12
7.2.150.0000.01417.06
7.2.140.0000.01516.85
7.2.130.0040.01116.89
7.2.120.0030.01716.70
7.2.110.0000.01316.64
7.2.100.0080.00316.65
7.2.90.0040.00816.98
7.2.80.0000.01016.77
7.2.70.0060.00616.91
7.2.60.0080.00716.78
7.2.50.0050.01016.83
7.2.40.0000.00916.83
7.2.30.0030.01016.73
7.2.20.0030.01316.72
7.2.10.0060.00916.79
7.2.00.0070.00716.81
7.1.330.0120.00315.73
7.1.320.0060.00315.70
7.1.310.0040.00715.66
7.1.300.0040.01115.50
7.1.290.0030.00915.64
7.1.280.0030.00815.77
7.1.270.0070.00715.75
7.1.260.0050.00515.75
7.1.250.0040.01115.74
7.1.240.0000.01015.66
7.1.230.0060.00615.74
7.1.220.0000.01215.72
7.1.210.0120.00315.74
7.1.200.0000.01115.74
7.1.190.0000.01215.56
7.1.180.0040.00715.79
7.1.170.0030.01015.63
7.1.160.0070.00315.78
7.1.150.0090.00315.67
7.1.140.0080.00415.78
7.1.130.0060.00315.68
7.1.120.0030.01015.71
7.1.110.0070.00715.87
7.1.100.0080.00415.85
7.1.90.0040.01115.82
7.1.80.0060.00615.45
7.1.70.0080.00716.22
7.1.60.0350.01224.60
7.1.50.0320.01324.41
7.1.40.0500.01123.91
7.1.30.0600.01024.00
7.1.20.0520.01024.21
7.1.10.0520.01415.29
7.1.00.0580.00815.31
7.0.330.0000.01115.31
7.0.320.0030.01015.31
7.0.310.0030.00515.33
7.0.300.0060.00915.29
7.0.290.0030.00515.22
7.0.280.0030.00615.34
7.0.270.0000.00915.54
7.0.260.0060.00915.54
7.0.250.0000.00815.40
7.0.240.0040.00715.38
7.0.230.0100.00315.43
7.0.220.0030.01015.42
7.0.210.0080.00815.47
7.0.200.0370.01214.99
7.0.190.0600.00815.16
7.0.180.0330.00914.91
7.0.170.0530.01415.02
7.0.160.0660.01114.90
7.0.150.0370.00714.82
7.0.140.0430.00814.79
7.0.130.0340.01214.88
7.0.120.0400.00714.89
7.0.110.0430.00814.90
7.0.100.0410.01014.89
7.0.90.0530.01514.93
7.0.80.0800.00714.79
7.0.70.0460.00814.73
7.0.60.0330.01114.88
7.0.50.0380.01415.07
7.0.40.0400.01314.03
7.0.30.0380.00914.02
7.0.20.0500.00514.11
7.0.10.0470.00814.07
7.0.00.0460.00513.97
5.6.400.0110.00314.29
5.6.390.0140.00714.15
5.6.380.0030.01314.28
5.6.370.0000.01014.09
5.6.360.0100.00314.04
5.6.350.0000.01314.44
5.6.340.0040.00714.13
5.6.330.0070.00414.20
5.6.320.0060.00614.23
5.6.310.0070.01014.47
5.6.300.0030.00614.23
5.6.290.0030.01414.42
5.6.280.0070.00714.11
5.6.270.0070.00714.22
5.6.260.0030.00614.13
5.6.250.0060.00614.40
5.6.240.0090.00614.33
5.6.230.0070.00713.99
5.6.220.0070.00714.39
5.6.210.0030.00914.22
5.6.200.0000.00914.23
5.6.190.0000.00913.98
5.6.180.0070.00714.27
5.6.170.0040.00414.40
5.6.160.0040.00814.19
5.6.150.0100.00314.17
5.6.140.0060.00914.41
5.6.130.0050.00814.34
5.6.120.0070.01014.18
5.6.110.0000.01414.21
5.6.100.0090.00614.20
5.6.90.0090.00013.95
5.6.80.0000.01214.37
5.6.70.0070.00413.97
5.6.60.0030.00713.98
5.6.50.0030.01414.16
5.6.40.0040.01114.23
5.6.30.0030.01014.12
5.6.20.0000.00914.09
5.6.10.0080.00014.22
5.6.00.0070.00713.96

preferences:
62.39 ms | 400 KiB | 5 Q