3v4l.org

run code in 300+ PHP versions simultaneously
<?php $records = [ '{"FirstName":"John","Title":"","Surname":"Smith"}', '{"FirstName":"Daniel","Title":"","Surname":"Smith"}', ]; foreach ($records as $line) { $record = json_decode($line); echo $record->FirstName . "\n"; // etc }

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.4.20.0030.00618.82
8.4.10.0040.00420.61
8.3.150.0150.00318.75
8.3.140.0090.00917.11
8.3.130.0040.00418.41
8.3.120.0050.00520.63
8.3.110.0140.00020.94
8.3.100.0090.00016.75
8.3.90.0070.00026.77
8.3.80.0070.00316.75
8.3.70.0120.00316.75
8.3.60.0090.00618.43
8.3.50.0090.00617.47
8.3.40.0130.00318.53
8.3.30.0130.00618.57
8.3.20.0030.00621.73
8.3.10.0000.00721.73
8.3.00.0040.00421.78
8.2.270.0070.01116.37
8.2.260.0050.00518.95
8.2.250.0090.00616.44
8.2.240.0090.00017.13
8.2.230.0070.00322.58
8.2.220.0100.00024.06
8.2.210.0030.00626.77
8.2.200.0060.00318.41
8.2.190.0120.00616.63
8.2.180.0040.01116.36
8.2.170.0070.01122.96
8.2.160.0070.00720.39
8.2.150.0000.00825.66
8.2.140.0090.00024.66
8.2.130.0040.00419.82
8.2.120.0060.00326.35
8.2.110.0130.00620.35
8.2.100.0060.00617.71
8.2.90.0050.00317.75
8.2.80.0030.00518.69
8.2.70.0060.00317.50
8.2.60.0030.00617.93
8.2.50.0030.00518.07
8.2.40.0040.00418.22
8.2.30.0000.00718.16
8.2.20.0000.00718.06
8.2.10.0050.00219.20
8.2.00.0000.00718.11
8.1.310.0050.00316.57
8.1.300.0110.00717.60
8.1.290.0000.00930.84
8.1.280.0090.00625.92
8.1.270.0030.00620.45
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0140.00323.77
8.1.230.0070.00320.84
8.1.220.0030.00517.74
8.1.210.0060.00618.77
8.1.200.0040.00417.25
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0050.00318.61
8.1.160.0040.00418.88
8.1.150.0030.00418.87
8.1.140.0000.00719.05
8.1.130.0030.00320.04
8.1.120.0030.00517.42
8.1.110.0040.00417.35
8.1.100.0030.00517.43
8.1.90.0080.00017.45
8.1.80.0000.00817.45
8.1.70.0040.00417.34
8.1.60.0040.00417.59
8.1.50.0040.00417.55
8.1.40.0030.00617.48
8.1.30.0070.00317.67
8.1.20.0040.00417.54
8.1.10.0060.00317.46
8.1.00.0070.00017.42
8.0.300.0090.00018.77
8.0.290.0000.00716.75
8.0.280.0030.00318.50
8.0.270.0030.00317.15
8.0.260.0030.00320.03
8.0.250.0000.00716.96
8.0.240.0040.00416.95
8.0.230.0050.00316.98
8.0.220.0000.00716.93
8.0.210.0000.00716.86
8.0.200.0030.00316.94
8.0.190.0070.00416.84
8.0.180.0000.00816.94
8.0.170.0000.00816.95
8.0.160.0060.00316.95
8.0.150.0070.00016.81
8.0.140.0030.00616.85
8.0.130.0000.00613.27
8.0.120.0080.00016.93
8.0.110.0000.00716.95
8.0.100.0040.00416.84
8.0.90.0040.00416.70
8.0.80.0090.00616.90
8.0.70.0040.00416.87
8.0.60.0040.00416.93
8.0.50.0050.00216.87
8.0.30.0160.00317.09
8.0.20.0140.01217.11
8.0.10.0040.00416.98
8.0.00.0110.01016.73
7.4.330.0020.00216.59
7.4.320.0060.00016.60
7.4.300.0060.00016.59
7.4.290.0000.00816.50
7.4.280.0040.00416.41
7.4.270.0000.00716.50
7.4.260.0030.00316.60
7.4.250.0000.00716.32
7.4.240.0030.00316.57
7.4.230.0050.00216.69
7.4.220.0000.00716.44
7.4.210.0070.00716.63
7.4.200.0000.00716.71
7.4.160.0090.00916.51
7.4.140.0100.00717.86
7.4.130.0100.00616.71
7.4.120.0090.01016.36
7.4.110.0120.00416.62
7.4.100.0170.00616.40
7.4.90.0130.00716.69
7.4.80.0210.00019.39
7.4.70.0110.01116.62
7.4.60.0030.01316.38
7.4.50.0070.01116.30
7.4.40.0200.00416.53
7.4.10.0070.01314.86
7.4.00.0100.00815.03
7.3.330.0050.00013.14
7.3.320.0030.00313.17
7.3.310.0070.00016.18
7.3.300.0030.00316.31
7.3.290.0030.00316.30
7.3.280.0210.01216.20
7.3.260.0100.01016.47
7.3.240.0090.01116.44
7.3.230.0100.00716.59
7.3.210.0140.00316.21
7.3.200.0130.00716.48
7.3.190.0150.00416.60
7.3.180.0140.00416.29
7.3.170.0080.00816.55
7.3.160.0080.00816.31
7.3.130.0000.01414.98
7.3.120.0070.00714.81
7.3.110.0120.00615.14
7.3.100.0060.01114.71
7.3.90.0090.00914.54
7.3.80.0100.00715.14
7.3.70.0090.00614.64
7.3.60.0040.01114.79
7.3.50.0090.00314.91
7.3.40.0050.00714.79
7.3.30.0070.01114.66
7.3.20.0020.01016.61
7.3.10.0080.00416.65
7.3.00.0080.00516.65
7.2.330.0100.00716.71
7.2.320.0080.00816.56
7.2.310.0110.00716.77
7.2.300.0090.01216.48
7.2.290.0100.00716.69
7.2.260.0030.01414.74
7.2.250.0070.01115.10
7.2.240.0030.01015.20
7.2.230.0080.00815.25
7.2.220.0140.00415.14
7.2.210.0030.01015.20
7.2.200.0060.00915.14
7.2.190.0070.01015.16
7.2.180.0030.01015.12
7.2.170.0060.00414.99
7.2.160.0040.00914.97
7.2.150.0070.00716.76
7.2.140.0100.00416.97
7.2.130.0110.00516.95
7.2.120.0060.00517.03
7.2.110.0100.01117.06
7.2.100.0080.00816.89
7.2.90.0090.00316.97
7.2.80.0030.00916.90
7.2.70.0110.00416.97
7.2.60.0050.01017.02
7.2.50.0110.00916.99
7.2.40.0070.00616.83
7.2.30.0050.00717.04
7.2.20.0100.00716.90
7.2.10.0060.00816.85
7.2.00.0090.00217.04
7.1.330.0030.01216.10
7.1.320.0000.01515.82
7.1.310.0040.01115.80
7.1.300.0070.00716.00
7.1.290.0070.00715.84
7.1.280.0070.00715.84
7.1.270.0070.00815.82
7.1.260.0120.00215.89
7.1.250.0050.01315.73
7.1.240.0090.00615.82
7.1.230.0030.00715.69
7.1.220.0060.01115.81
7.1.210.0060.01015.92
7.1.200.0120.00315.72
7.1.190.0040.00815.77
7.1.180.0040.00715.62
7.1.170.0030.01015.80
7.1.160.0080.00015.89
7.1.150.0090.00015.86
7.1.140.0060.00915.61
7.1.130.0040.01115.64
7.1.120.0100.00315.86
7.1.110.0090.00615.96
7.1.100.0060.00615.75
7.1.90.0000.01216.00
7.1.80.0060.00615.84
7.1.70.0030.00615.80
7.1.60.0030.00715.82
7.1.50.0030.01015.76
7.1.40.0070.00715.86
7.1.30.0030.01015.86
7.1.20.0040.01115.75
7.1.10.0070.00315.57
7.1.00.0070.00715.79

preferences:
29.47 ms | 403 KiB | 5 Q