3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '1/1 [==============================] - 1s 1s/step [ { "image_id": "mahomes1", "mean_score_prediction": 6.3682564571499825 }, { "image_id": "mahomes2", "mean_score_prediction": 6.7501190304756165 }, { "image_id": "mahomes3", "mean_score_prediction": 6.3136263862252235 }, ]'; $string = preg_replace(array('/^[^\v]+/', '/,(\s+\])/'), array('', '$1'), $string); $dict = json_decode($string); print_r($dict);

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.130.0080.00018.43
8.3.120.0000.00920.60
8.3.110.0100.00718.28
8.3.100.0040.00416.51
8.3.90.0040.00416.75
8.3.80.0000.00918.30
8.3.70.0120.00918.55
8.3.60.0140.00718.31
8.3.50.0160.00517.32
8.3.40.0120.00318.79
8.3.30.0170.00318.66
8.3.20.0040.00421.91
8.3.10.0000.00719.98
8.3.00.0100.00021.82
8.2.250.0040.00420.45
8.2.240.0060.00317.28
8.2.230.0100.00020.94
8.2.220.0070.00324.06
8.2.210.0150.00426.77
8.2.200.0030.00718.66
8.2.190.0120.00918.54
8.2.180.0070.01116.35
8.2.170.0110.00418.99
8.2.160.0100.00322.96
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0080.00019.83
8.2.120.0050.00326.16
8.2.110.0100.00720.47
8.2.100.0080.00417.84
8.2.90.0030.00517.93
8.2.80.0050.00318.86
8.2.70.0030.00517.63
8.2.60.0090.00017.93
8.2.50.0030.00518.07
8.2.40.0000.00818.03
8.2.30.0060.00318.13
8.2.20.0000.00717.95
8.2.10.0040.00419.08
8.2.00.0000.00717.96
8.1.300.0120.00318.61
8.1.290.0060.00318.88
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0030.00628.09
8.1.240.0000.01123.79
8.1.230.0000.01122.18
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0050.00517.35
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0000.00818.62
8.1.160.0090.00018.85
8.1.150.0050.00318.86
8.1.140.0040.00418.89
8.1.130.0030.00320.26
8.1.120.0000.00817.48
8.1.110.0040.00417.57
8.1.100.0050.00217.39
8.1.90.0060.00317.53
8.1.80.0030.00517.44
8.1.70.0070.00017.43
8.1.60.0000.00817.73
8.1.50.0000.00717.63
8.1.40.0030.00517.59
8.1.30.0050.00317.60
8.1.20.0060.00317.76
8.1.10.0000.00817.64
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0040.00416.88
8.0.280.0000.00718.32
8.0.270.0030.00317.09
8.0.260.0030.00318.46
8.0.250.0000.00717.00
8.0.240.0030.00616.91
8.0.230.0000.00717.07
8.0.220.0030.00316.89
8.0.210.0030.00616.86
8.0.200.0050.00316.96
8.0.190.0040.00417.00
8.0.180.0030.00517.00
8.0.170.0080.00016.93
8.0.160.0000.00716.93
8.0.150.0030.00616.93
8.0.140.0040.00416.98
8.0.130.0050.00013.45
8.0.120.0000.00816.97
8.0.110.0050.00317.02
8.0.100.0040.00416.95
8.0.90.0000.00816.85
8.0.80.0060.00917.00
8.0.70.0050.00316.98
8.0.60.0040.00416.82
8.0.50.0040.00416.75
8.0.30.0110.00917.11
8.0.20.0070.01217.35
8.0.10.0050.00216.97
8.0.00.0100.01016.82
7.4.330.0050.00015.55
7.4.320.0060.00016.66
7.4.300.0060.00016.73
7.4.290.0030.00316.73
7.4.280.0000.00916.72
7.4.270.0030.00316.79
7.4.260.0030.00716.72
7.4.250.0000.00816.61
7.4.240.0070.00016.68
7.4.230.0000.00716.85
7.4.220.0040.00416.68
7.4.210.0050.01016.76
7.4.200.0000.00716.78
7.4.160.0100.00616.55
7.4.140.0160.00317.86
7.4.130.0130.00316.77
7.4.120.0110.00516.59
7.4.110.0120.00916.70
7.4.100.0060.01216.50
7.4.90.0090.01016.76
7.4.80.0080.01119.39
7.4.70.0120.01516.64
7.4.60.0070.01316.77
7.4.50.0070.00716.42
7.4.40.0140.00416.55
7.4.10.0100.00715.16
7.4.00.0050.01115.10
7.3.330.0000.00513.02
7.3.320.0000.00613.18
7.3.310.0070.00016.38
7.3.300.0000.00716.32
7.3.290.0030.00316.14
7.3.280.0090.00916.30
7.3.260.0100.00816.48
7.3.240.0090.00916.35
7.3.230.0070.01016.46
7.3.210.0120.00616.29
7.3.200.0030.01316.29
7.3.190.0130.00416.48
7.3.180.0060.01116.35
7.3.170.0090.00616.29
7.3.160.0090.00916.45
7.3.130.0070.01014.87
7.3.120.0070.01015.12
7.3.110.0150.00415.17
7.3.100.0070.00714.81
7.3.90.0070.00714.54
7.3.80.0040.00714.79
7.3.70.0000.01514.79
7.3.60.0040.01114.90
7.3.50.0080.01014.68
7.3.40.0040.00714.48
7.3.30.0080.00614.75
7.3.20.0060.01215.87
7.3.10.0110.00715.79
7.3.00.0100.00815.63
7.2.330.0150.00316.80
7.2.320.0070.01316.77
7.2.310.0030.01616.68
7.2.300.0100.00616.77
7.2.290.0130.00816.61
7.2.260.0060.01315.07
7.2.250.0060.01214.96
7.2.240.0040.01114.84
7.2.230.0080.00815.26
7.2.220.0030.01615.26
7.2.210.0090.00615.10
7.2.200.0030.01014.95
7.2.190.0000.01315.16
7.2.180.0070.00414.85
7.2.170.0050.00714.97
7.2.160.0090.00314.86
7.2.150.0100.00615.99
7.2.140.0120.00916.15
7.2.130.0060.00815.93
7.2.120.0150.00216.03
7.2.110.0060.01016.02
7.2.100.0070.00715.95
7.2.90.0040.01115.92
7.2.80.0070.01016.00
7.2.70.0390.00515.89
7.2.60.0100.01115.97
7.2.50.0080.00916.09
7.2.40.0060.01015.78
7.2.30.0080.00916.18
7.2.20.0070.01015.96
7.2.10.0120.00715.86
7.2.00.0080.00615.92
7.1.330.0100.00315.96
7.1.320.0120.00615.82
7.1.310.0110.00415.86
7.1.300.0070.00716.03
7.1.290.0040.00416.08
7.1.280.0070.00814.77
7.1.270.0070.00914.81
7.1.260.0070.00814.92
7.1.250.0090.00714.91
7.1.240.0070.00715.95
7.1.230.0080.00415.80
7.1.220.0040.00715.88
7.1.210.0030.00715.88
7.1.200.0050.00315.67
7.1.190.0100.00715.93
7.1.180.0090.00615.74
7.1.170.0060.00615.92
7.1.160.0030.00615.86
7.1.150.0000.01115.92
7.1.140.0140.00015.79
7.1.130.0000.01215.71
7.1.120.0040.00815.96
7.1.110.0070.00716.05
7.1.100.0030.00715.83
7.1.90.0000.01316.04
7.1.80.0070.00315.72
7.1.70.0110.00415.53
7.1.60.0000.01215.76
7.1.50.0060.00315.72
7.1.40.0060.00315.87
7.1.30.0030.00716.02
7.1.20.0000.01315.82
7.1.10.0040.01215.91
7.1.00.0040.01115.99

preferences:
29.02 ms | 403 KiB | 5 Q