3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = json_decode('{BS: 11}'); if ($response) { echo '1'; }

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.0140.00316.63
8.3.50.0100.01021.94
8.3.40.0090.01218.61
8.3.30.0070.00718.93
8.3.20.0040.00420.21
8.3.10.0070.00023.65
8.3.00.0000.00820.58
8.2.180.0110.00416.63
8.2.170.0170.00322.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0110.00626.16
8.2.120.0040.00422.20
8.2.110.0090.00022.13
8.2.100.0070.00417.72
8.2.90.0070.00019.05
8.2.80.0000.00817.97
8.2.70.0070.00317.25
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0090.00017.98
8.2.20.0000.00717.63
8.2.10.0040.00419.31
8.2.00.0000.00817.57
8.1.280.0060.01225.92
8.1.270.0040.00423.82
8.1.260.0040.00426.35
8.1.250.0000.00928.09
8.1.240.0040.00423.71
8.1.230.0070.00319.15
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0040.00417.39
8.1.180.0000.00818.10
8.1.170.0000.00818.30
8.1.160.0000.00721.93
8.1.150.0000.00718.55
8.1.140.0030.00517.42
8.1.130.0030.00317.69
8.1.120.0080.00017.32
8.1.110.0070.00017.40
8.1.100.0000.00717.27
8.1.90.0040.00417.32
8.1.80.0000.00817.41
8.1.70.0030.00317.29
8.1.60.0040.00417.55
8.1.50.0000.00817.46
8.1.40.0070.00017.33
8.1.30.0000.00817.53
8.1.20.0040.00417.60
8.1.10.0000.00717.42
8.1.00.0040.00417.40
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0030.00518.38
8.0.270.0000.00717.18
8.0.260.0000.00616.74
8.0.250.0070.00016.79
8.0.240.0000.00716.88
8.0.230.0030.00316.89
8.0.220.0030.00316.80
8.0.210.0030.00316.87
8.0.200.0000.00616.88
8.0.190.0070.00016.86
8.0.180.0000.00716.77
8.0.170.0080.00016.89
8.0.160.0000.00716.78
8.0.150.0000.00816.81
8.0.140.0070.00016.83
8.0.130.0000.00513.25
8.0.120.0040.00416.81
8.0.110.0040.00416.75
8.0.100.0030.00516.61
8.0.90.0000.00716.88
8.0.80.0100.01016.75
8.0.70.0000.00716.85
8.0.60.0050.00216.71
8.0.50.0000.00716.88
8.0.30.0110.01116.93
8.0.20.0160.00617.40
8.0.10.0000.00716.98
8.0.00.0120.00616.68
7.4.330.0050.00015.00
7.4.320.0000.00616.55
7.4.300.0000.00616.42
7.4.290.0070.00016.34
7.4.280.0030.00316.45
7.4.270.0030.00316.53
7.4.260.0070.00016.46
7.4.250.0070.00016.39
7.4.240.0000.00716.47
7.4.230.0000.00716.23
7.4.220.0070.01116.29
7.4.210.0060.00816.51
7.4.200.0000.00716.51
7.4.190.0000.00716.32
7.4.160.0060.00916.34
7.4.150.0170.00717.40
7.4.140.0090.01117.86
7.4.130.0100.00716.38
7.4.120.0110.00616.45
7.4.110.0090.01516.53
7.4.100.0150.00816.45
7.4.90.0070.01116.50
7.4.80.0100.01319.39
7.4.70.0090.00616.36
7.4.60.0040.01216.48
7.4.50.0030.00316.50
7.4.40.0130.00322.77
7.4.30.0110.00516.58
7.4.00.0030.00915.05
7.3.330.0030.00313.12
7.3.320.0000.00512.97
7.3.310.0030.00316.09
7.3.300.0000.00716.10
7.3.290.0070.00716.13
7.3.280.0070.01016.16
7.3.270.0080.00917.40
7.3.260.0070.01016.11
7.3.250.0100.00716.20
7.3.240.0060.01316.21
7.3.230.0130.01016.39
7.3.210.0160.00016.15
7.3.200.0030.01319.39
7.3.190.0060.01516.24
7.3.180.0060.01116.35
7.3.170.0070.01016.51
7.3.160.0070.01016.45
7.3.120.0030.00714.70
7.2.330.0110.00716.32
7.2.320.0060.01216.61
7.2.310.0080.00816.52
7.2.300.0090.00916.27
7.2.290.0100.00616.46
7.2.00.0110.02719.06
7.1.100.0110.00318.14
7.1.70.0050.00217.08
7.1.60.0000.02419.29
7.1.50.0090.00316.99
7.1.00.0030.07722.35
7.0.200.0100.00316.68
7.0.140.0000.07021.92
7.0.60.0170.06019.84
7.0.50.0100.07717.87
7.0.40.0030.07320.41
7.0.30.0270.04320.13
7.0.20.0270.04020.11
7.0.10.0070.07020.20
7.0.00.0100.08020.30
5.6.280.0030.07320.82
5.6.210.0100.06720.53
5.6.200.0130.03318.16
5.6.190.0070.07720.45
5.6.180.3100.04720.35
5.6.170.0370.07320.71
5.6.160.0100.08320.44
5.6.150.0000.04318.13
5.6.140.0130.03018.21
5.6.130.0070.03718.21
5.6.120.0100.08021.03
5.6.110.0200.07721.00
5.6.100.0200.07021.02
5.6.90.0100.07321.10
5.6.80.0070.08020.37
5.6.70.4330.03720.33
5.5.350.0200.04020.46
5.5.340.0130.07317.98
5.5.330.0030.07320.40
5.5.320.0200.04720.28
5.5.310.0200.07020.30
5.5.300.0070.08018.02
5.5.290.0100.07717.95
5.5.280.0100.03720.96
5.5.270.0030.04320.97
5.5.260.0170.05320.76
5.5.250.0070.08720.77
5.5.240.0270.07720.15
5.4.450.0230.05719.49
5.4.440.0400.06719.45
5.4.430.0270.07719.20
5.4.420.0330.06719.52
5.4.410.0370.06019.28
5.4.400.0300.05018.92
5.4.390.0330.06718.91
5.4.380.0370.06718.88
5.4.370.0300.03319.21
5.4.360.0400.05719.13
5.4.350.0270.03718.79
5.4.340.0300.03718.81
5.4.320.0230.04719.08
5.4.310.0170.04018.90
5.4.300.0230.04018.92
5.4.290.0170.04319.09
5.4.280.0170.03719.15
5.4.270.0200.03318.88
5.4.260.0200.03718.80
5.4.250.0300.04019.08
5.4.240.0200.04719.04
5.4.230.0170.03719.08
5.4.220.0200.03719.12
5.4.210.0170.03718.94
5.4.200.0170.03719.15
5.4.190.0130.04019.04
5.4.180.0200.04018.79
5.4.170.0330.02319.07
5.4.160.0270.03319.04
5.4.150.0200.04019.06
5.4.140.0170.03716.44
5.4.130.0200.03316.22
5.4.120.0170.03716.37
5.4.110.0200.03716.35
5.4.100.0330.06716.25
5.4.90.0230.06716.34
5.4.80.0300.06716.39
5.4.70.0330.05716.45
5.4.60.0200.04016.33
5.4.50.0370.03316.45
5.4.40.0230.06316.23
5.4.30.0270.04316.40
5.4.20.0330.04016.36
5.4.10.0300.03316.27
5.4.00.0370.02315.70
5.3.290.0130.04014.50
5.3.280.0200.03714.50
5.3.270.0130.04014.46
5.3.260.0170.03714.44
5.3.250.0170.04314.44
5.3.240.0230.03714.46
5.3.230.0230.03014.44
5.3.220.0100.04314.67
5.3.210.0100.04314.47
5.3.200.0270.07014.40
5.3.190.0430.03014.59
5.3.180.0230.06714.65
5.3.170.0300.05314.47
5.3.160.0370.06014.51
5.3.150.0370.06314.43
5.3.140.0400.03314.43
5.3.130.0230.05014.52
5.3.120.0270.07014.49
5.3.110.0300.07314.42
5.3.100.0200.04013.89
5.3.90.0270.03313.97
5.3.80.0270.06013.79
5.3.70.0300.06313.79
5.3.60.0270.07313.95
5.3.50.0270.05014.04
5.3.40.0270.06313.97
5.3.30.0270.04013.86
5.3.20.0300.05713.63
5.3.10.0230.07313.53
5.3.00.0230.03713.54
5.2.170.0270.06012.05
5.2.160.0230.06012.05
5.2.150.0230.04712.05
5.2.140.0300.05312.05
5.2.130.0270.06012.05
5.2.120.0270.04712.05
5.2.110.0200.03012.05
5.2.100.0170.05012.05
5.2.90.0230.03312.05
5.2.80.0170.03312.05
5.2.70.0230.03712.05
5.2.60.0230.05712.05
5.2.50.0300.05312.05
5.2.40.0200.05712.05
5.2.30.0130.04012.05
5.2.20.0200.06012.05
5.2.10.0230.05312.05
5.2.00.0230.03312.05
5.1.60.0230.04712.05
5.1.50.0270.03712.05
5.1.40.0130.04012.05
5.1.30.0200.05712.05
5.1.20.0270.05012.05
5.1.10.0100.03712.05
5.1.00.0230.03312.05
5.0.50.0130.04012.05
5.0.40.0130.03712.05
5.0.30.0130.05312.05
5.0.20.0100.04312.05
5.0.10.0130.02712.05
5.0.00.0170.05712.05
4.4.90.0130.03312.05
4.4.80.0200.02312.05
4.4.70.0100.03312.05
4.4.60.0170.02712.05
4.4.50.0130.03012.05
4.4.40.0130.02312.05
4.4.30.0200.02312.05
4.4.20.0130.01712.05
4.4.10.0130.03312.05
4.4.00.0100.04712.05
4.3.110.0100.02012.05
4.3.100.0100.03712.05
4.3.90.0130.03312.05
4.3.80.0100.05312.05
4.3.70.0070.03312.05
4.3.60.0130.02312.05
4.3.50.0100.02712.05
4.3.40.0100.02712.05
4.3.30.0100.03012.05
4.3.20.0100.03012.05
4.3.10.0070.03312.05
4.3.00.0030.02012.05

preferences:
47.47 ms | 401 KiB | 5 Q