3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lookup = [ -1 => 'down', 0 => 'right', 1 => 'up', ]; foreach ([13, 0, -5] as $amount) { printf( '<h1 class="uk-text-center uk-margin-bottom-remove">%s<i class="uk-icon-caret-%s"></i></h1>', $amount, $lookup[$amount <=> 0] ); echo "\n---\n"; }

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.20.0090.00920.14
8.5.10.0030.00418.71
8.5.00.0170.01020.27
8.4.160.0120.00823.92
8.4.150.0020.00014.05
8.4.140.0090.01217.81
8.4.130.0130.00719.44
8.4.120.0050.00320.84
8.4.110.0080.01122.55
8.4.100.0130.00720.28
8.4.90.0110.00918.77
8.4.80.0060.00620.59
8.4.70.0090.00818.05
8.4.60.0100.01018.63
8.4.50.0120.00820.34
8.4.40.0100.01017.48
8.4.30.0060.01320.41
8.4.20.0140.00417.98
8.4.10.0190.00017.69
8.3.290.0140.00620.61
8.3.280.0130.01118.48
8.3.270.0100.00916.64
8.3.260.0130.00616.53
8.3.250.0110.00718.75
8.3.240.0110.00718.98
8.3.230.0110.00616.42
8.3.220.0040.00320.60
8.3.210.0040.00418.23
8.3.200.0050.00516.74
8.3.190.0090.00819.12
8.3.180.0040.00516.63
8.3.170.0030.00519.21
8.3.160.0120.00618.50
8.3.150.0060.01319.00
8.3.140.0080.00018.48
8.3.130.0030.00618.60
8.3.120.0060.00319.05
8.3.110.0110.00720.94
8.3.100.0160.00324.06
8.3.90.0000.00826.77
8.3.80.0030.00716.75
8.3.70.0120.00416.63
8.3.60.0070.01118.31
8.3.50.0120.00320.10
8.3.40.0110.00718.69
8.3.30.0070.00718.84
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0030.00526.16
8.2.300.0110.00924.02
8.2.290.0120.00820.51
8.2.280.0040.00418.13
8.2.270.0080.00816.46
8.2.260.0070.00018.99
8.2.250.0190.00016.69
8.2.240.0100.01018.28
8.2.230.0100.01022.58
8.2.220.0060.01537.54
8.2.210.0050.00326.77
8.2.200.0050.00516.75
8.2.190.0060.01216.75
8.2.180.0060.00925.92
8.2.170.0070.01418.91
8.2.160.0120.00322.96
8.2.150.0080.00025.66
8.2.140.0050.00324.66
8.2.130.0090.00926.16
8.2.120.0000.00819.86
8.2.110.0060.00319.45
8.2.100.0040.00717.91
8.2.90.0080.00017.73
8.2.80.0040.00418.59
8.2.70.0000.00817.61
8.2.60.0000.00817.93
8.2.50.0050.00317.98
8.2.40.0090.00019.69
8.2.30.0000.00717.83
8.2.20.0050.00320.36
8.2.10.0030.00617.63
8.2.00.0080.00019.29
8.1.340.0160.00919.94
8.1.330.0050.00621.98
8.1.320.0090.00916.04
8.1.310.0000.00818.53
8.1.300.0030.00616.21
8.1.290.0060.00318.88
8.1.280.0090.00925.92
8.1.270.0090.00020.77
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00319.51
8.1.230.0110.00017.61
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00720.26
8.1.150.0070.00018.60
8.1.140.0070.00017.45
8.1.130.0040.00420.28
8.1.120.0000.00817.39
8.1.110.0030.00317.48
8.1.100.0030.00417.38
8.1.90.0000.00717.46
8.1.80.0040.00417.44
8.1.70.0030.00317.48
8.1.60.0040.00417.49
8.1.50.0000.00817.41
8.1.40.0030.00617.40
8.1.30.0080.00017.48
8.1.20.0120.01217.57
8.1.10.0190.00517.55
8.1.00.0170.00717.37
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00818.43
8.0.270.0000.00816.77
8.0.260.0060.00018.51
8.0.250.0040.00416.91
8.0.240.0070.00016.94
8.0.230.0070.00016.83
8.0.220.0000.00716.93
8.0.210.0070.00016.81
8.0.200.0050.00316.92
8.0.190.0060.00316.86
8.0.180.0020.00516.93
8.0.170.0040.00716.82
8.0.160.0040.00416.84
8.0.150.0170.00216.70
8.0.140.0190.00016.81
8.0.130.0200.00016.73
8.0.120.0100.01016.89
8.0.110.0200.00016.80
8.0.100.0170.00316.83
8.0.90.0130.00916.88
8.0.80.0170.00316.80
8.0.70.0120.00816.64
8.0.60.0170.00316.88
8.0.50.0160.00516.81
8.0.30.0200.00016.64
8.0.20.0180.00316.88
8.0.10.0150.00616.99
7.4.330.0000.00515.55
7.4.320.0030.00316.53
7.4.300.0000.00716.63
7.4.290.0050.00316.54
7.4.280.0070.00016.47
7.4.270.0210.00316.63
7.4.260.0230.00316.59
7.4.250.0200.00416.50
7.4.240.0190.00716.44
7.4.230.0220.00616.59
7.4.220.0220.00816.43
7.4.210.0120.00716.62
7.4.200.0160.00316.46
7.4.190.0150.00416.63
7.4.180.0140.00516.67
7.4.160.0180.00316.56
7.4.150.0220.00016.61
7.4.140.0140.00716.46
7.4.130.0140.00516.28
7.4.120.0120.00816.35
7.4.110.0130.00716.52
7.4.100.0180.00216.54
7.4.90.0150.00416.21
7.4.80.0160.00316.56
7.4.70.0160.00316.36
7.4.60.0120.00716.44
7.4.50.0130.00616.26
7.4.40.0130.00616.19
7.4.30.0150.00416.50
7.4.20.0130.00716.32
7.4.10.0120.00616.27
7.4.00.0130.00416.43

preferences:
195.35 ms | 403 KiB | 5 Q